Example #1
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     if (self::$_db === null) {
         $this->getConnection();
     }
 }
Example #2
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->_root = $options['cachebase'];
     $cloptions = array('cacheDir' => $this->_root . '/', 'lifeTime' => $this->_lifetime, 'fileLocking' => $this->_locking, 'automaticCleaningFactor' => isset($options['autoclean']) ? $options['autoclean'] : 200, 'fileNameProtection' => false, 'hashedDirectoryLevel' => 0, 'caching' => $options['caching']);
     if (self::$CacheLiteInstance === null) {
         $this->initCache($cloptions);
     }
 }
Example #3
0
 public function __construct($options = array())
 {
     parent::__construct($options);
 }
Example #4
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->_root = $options['cachebase'];
 }