Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $this->memcache = new MemCache();
     if (!$this->memcache->connect($this->getConf('cache.memcache.host'), $this->getConf('cache.memcache.port'))) {
         die('Could not connect to MemCache!');
     }
     $this->defaultTTL = $this->getConf('cache.memcache.default.ttl');
     $this->sessionid = $this->manager->getSession()->getId();
 }
Пример #2
0
 /**
  * Brief Description.
  * Complete Description.
  *
  * @returns (tipo) desc
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->log = $this->manager->log;
 }