source/Core/FileCache.php
public function getFromCache($key)
    {
        $fileName = $this->getCacheFilePath($key);
        $value = null;
        if (is_readable($fileName)) {
            $value = file_get_contents($fileName);
            if ($value == serialize(false)) {
                return false;
            }

            $value = unserialize($value);
            if ($value === false) {
                $value = null;
            }
        }

        return $value;
    }
public function getFromCache($key)
    {
        $fileName = $this->getCacheFilePath($key);
        $value = null;
        if (is_readable($fileName)) {
            $value = file_get_contents($fileName);
            if ($value == serialize(false)) {
                return false;
            }

            $value = unserialize($value);
            if ($value === false) {
                $value = null;
            }
        }

        return $value;
    }
public function getFromCache ( $ key ) { $ fileName = $ this -> getCacheFilePath ( $ key ) ; $ value = null ; if ( is_readable ( $ fileName ) ) { $ value = file_get_contents ( $ fileName ) ; if ( $ value == serialize ( false ) ) { return false ; } $ value = unserialize ( $ value ) ; if ( $ value === false ) { $ value = null ; } } return $ value ; }
Returns cached item value by given key.
This method is independent from oxConfig class and does not use database.

@param string $key cached item key.

@return mixed
Returns cached item value by given key . This method is independent from oxConfig class and does not use database .