Пример #1
0
 public function init()
 {
     $this->setBasePath(APPLICATION_PATH . '/templates/');
     $this->addHelperPath(APPLICATION_PATH . '/templates/helpers/', 'Zend_View_Helper');
     $this->addHelperPath(APPLICATION_PATH . '/libraries/Kimai/View/Helper/', 'Kimai_View_Helper');
     parent::init();
     $kga = Kimai_Registry::getConfig();
     $this->assign('kga', $kga);
 }
Пример #2
0
 public function init()
 {
     parent::init();
     $this->addHelperPath(VENDOR_PATH . '/zendframework/zendframework1/library/Zend/View/Helper/', 'Zend_View_Helper');
     $this->addHelperPath(VENDOR_PATH . '/cipherpols/cze/library/Cze/View/Helper/', '\\Cze\\View\\Helper');
 }
Пример #3
0
 public function init()
 {
     $this->setBasePath(APPLICATION_PATH . '/templates');
     $this->addHelperPath(APPLICATION_PATH . '/templates/helpers', 'Zend_View_Helper');
     parent::init();
 }