示例#1
0
文件: View.php 项目: kimai/kimai
 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
文件: View.php 项目: cipherpols/cze
 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
文件: View.php 项目: cljk/kimai
 public function init()
 {
     $this->setBasePath(APPLICATION_PATH . '/templates');
     $this->addHelperPath(APPLICATION_PATH . '/templates/helpers', 'Zend_View_Helper');
     parent::init();
 }