Ejemplo n.º 1
0
 protected function _initApi()
 {
     $this->bootstrap('autoloader');
     $this->bootstrap('cache');
     $this->bootstrap('log');
     \Pkr_View_Helper_ApiAbstract::setCache($this->getResource('cache'));
     \Pkr_View_Helper_ApiAbstract::setLog($this->getResource('log'));
 }
Ejemplo n.º 2
0
 public static function setLog(\Zend_Log $log)
 {
     self::$_log = $log;
 }