Files
2021-09-17 12:41:45 +02:00

19 lines
405 B
PHP

<?php
class Zend_View_Helper_Config extends Zend_View_Helper_Abstract
{
protected $_configService;
public function config($info = null)
{
if (null === $this->_configService) {
$this->_configService = new App_Service_ConfigManager();
}
if (null === $info) {
return $this;
}
return $this->_configService->get($info);
}
}