Beispiel #1
0
 /**
  * @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);
 }