Beispiel #1
0
    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());
    }
Beispiel #2
0
 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));
 }