'', 'basePath' => APPLICATION_PATH, 'resourceTypes' => array( 'form' => array( 'path' => 'forms', 'namespace' => 'Form', ) ) ) ); } protected function _initAutoloaders() { $this->getApplication()->setAutoloaderNamespaces(array('Poolctrl_' => 'Poolctrl', 'Poolctrl_Validate_' => 'Poolctrl/Validator/')); return $this; } protected function _initAuth(){ $auth = Zend_Auth::getInstance(); $auth->setStorage(new Zend_Auth_Storage_Session('auth')); } protected function _initDocType(){ $this->bootstrap('View'); $view = $this->getResource('View'); $view->doctype('XHTML1_STRICT'); } 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->headLink()->appendStylesheet('/media/css/jquery-ui-1.8.16.custom.css'); $view->headLink()->appendStylesheet('/media/css/jquery-ui-timepicker.css'); $view->headLink()->appendStylesheet('/media/css/fullcalendar.css'); $view->headLink()->appendStylesheet('/media/css/style.css'); $view->headTitle('poolctrl') ->setSeparator(' :: '); Zend_Registry::set('dateformat' , 'Y-m-d H:i:s'); } protected function _initPlugins() { $this->bootstrap('autoloaders'); $this->bootstrap('frontController'); $plugin = new Poolctrl_Controller_Plugin_Modularlayout(); $this->frontController->registerPlugin($plugin); } } include '../library/Poolctrl/Functions.php';