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); }
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'); }
public function init() { $this->setBasePath(APPLICATION_PATH . '/templates'); $this->addHelperPath(APPLICATION_PATH . '/templates/helpers', 'Zend_View_Helper'); parent::init(); }