function writeFragment($key, $content, $options = array()) { if (!$this->cacheConfigured()) return; $key = $this->fragmentCachekey($key, $options); return $this->_cache_store->save($content, $key, isset($options['host'])? $options['host']:$this->_buildCacheGroup()); }
public function writeFragment($key, $content, $options = array()) { if (!$this->cacheConfigured()) { return; } $key = $this->fragmentCachekey($key, $options); return $this->_cache_store->save($content, $key, $this->_buildCacheGroup($options)); }