コード例 #1
0
ファイル: AkCacheHandler.php プロジェクト: joeymetal/v1
    function readFragment($key, $options = array())
    {
        if (!$this->cacheConfigured()) return false;

        $orgkey = $key;

        $key = $this->fragmentCachekey($key, $options);

        return $this->_cache_store->get($key, isset($options['host'])?
        $options['host']:$this->_buildCacheGroup());
    }
コード例 #2
0
ファイル: cache_handler.php プロジェクト: bermi/akelos
 public function readFragment($key, $options = array())
 {
     if (!$this->cacheConfigured()) {
         return false;
     }
     $orgkey = $key;
     $key = $this->fragmentCachekey($key, $options);
     return $this->_cache_store->get($key, $this->_buildCacheGroup($options));
 }