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(); }
/** * Brief Description. * Complete Description. * * @returns (tipo) desc * */ public function __construct() { parent::__construct(); $this->log = $this->manager->log; }