Exemplo n.º 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);
     }
 }
Exemplo n.º 2
0
 public function __construct(\Lampcms\Registry $Registry)
 {
     parent::__construct($Registry);
 }