示例#1
0
文件: Cache.php 项目: codex73/LampCMS
 /**
  * @param Registry $Registry
  */
 public function __construct(Registry $Registry)
 {
     d('starting Cache');
     parent::__construct($Registry);
     $this->oTtl = new ArrayDefaults(array(), 0);
     $this->Tmp = new ArrayDefaults(array());
     $this->skipCache = $Registry->Ini->SKIP_CACHE;
     if (!$this->skipCache) {
         $this->setCacheEngine(Mongo::factory($Registry));
         $Registry->Dispatcher->attach($this);
     }
 }
 public function __construct(\Lampcms\Registry $Registry)
 {
     parent::__construct($Registry);
 }