system/libary/cache.php
/**
     * Check if cached datas with $key exists
     *
     * @param string $key
     * @return bool
     */
Check if cached datas with $key exists
@param string $key
@return bool
Check if cached datas with $key exists @param string $key @return bool
public function isCached($key)
    {
        $this->deleteExpiredCache();
        if ($this->_loadCache() != false) {
            $cacheContent = $this->_loadCache();
            return isset($cacheContent[$key]['data']);
        }
    }
public function isCached ( $ key ) { $ this -> deleteExpiredCache ( ) ; if ( $ this -> _loadCache ( ) != false ) { $ cacheContent = $ this -> _loadCache ( ) ; return isset ( $ cacheContent [ $ key ] [ 'data' ] ) ; } }
Check if cached datas with $key exists
 @param string $key
 @return bool
Check if cached datas with $key exists @param string $key @return bool