Example #1
0
 public function getCache()
 {
     if (self::$__cache === null) {
         self::$__cache = Yaf_Registry::get('cache');
         $this->cache = self::$__cache;
     }
     return self::$__cache;
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
 }