system/libary/cache.php
/**
     * Read data from the cache file
     *
     * @param string $key
     * @return string
     */
Read data from the cache file
@param string $key
@return string
Read data from the cache file @param string $key @return string
public function read($key, $filename = null)
    {
        $cacheContent = $this->_loadCache($filename);
        if (!isset($cacheContent[$key]['data']))
            return null;
        else
            return unserialize($cacheContent[$key]['data']);
    }
public function read ( $ key , $ filename = null ) { $ cacheContent = $ this -> _loadCache ( $ filename ) ; if ( ! isset ( $ cacheContent [ $ key ] [ 'data' ] ) ) return null ; else return unserialize ( $ cacheContent [ $ key ] [ 'data' ] ) ; }
Read data from the cache file
 @param string $key
 @return string
Read data from the cache file @param string $key @return string