コード例 #1
0
ファイル: memcache.php プロジェクト: vanie3/appland
 public function __construct($options = array())
 {
     parent::__construct($options);
     if (self::$_db === null) {
         $this->getConnection();
     }
 }
コード例 #2
0
ファイル: cachelite.php プロジェクト: vanie3/appland
 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);
     }
 }
コード例 #3
0
ファイル: eaccelerator.php プロジェクト: vanie3/appland
 public function __construct($options = array())
 {
     parent::__construct($options);
 }
コード例 #4
0
ファイル: file.php プロジェクト: vanie3/appland
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->_root = $options['cachebase'];
 }