public function _initConfig()
{
Zend_Registry::set('constants', new Zend_Config_Ini(
APPLICATION_PATH . '/configs/configs.ini',
'constants')
);
}
protected function _initAutoload()
{
$moduleLoader = new Zend_Application_Module_Autoloader(array(
'basePath' => APPLICATION_PATH . '/',
'namespace' => '',
));
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace('UDS_');
return $moduleLoader;
}
protected function _initViewHelpers()
{
$this->bootstrap('layout');
$layout = $this->getResource('layout');
$view = $layout->getView();
$view->doctype('XHTML1_STRICT');
$view->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf-8');
$view->addHelperPath(APPLICATION_PATH . '/views/helpers/', 'Application_View_Helper');
}