CampCache::info PHP Method

info() public method

Retrieves cache information and metadata from the cache store.
public info ( $p_type = null ) : mixed
$p_type If given is 'user', information about the user cache will be returned, otherwise system cache information.
return mixed array Cached data and metadata boolean FALSE on failure
    public function info($p_type = null)
    {
        if (!self::$m_enabled) {
            return false;
        }
        $type = $p_type == 'user' ? CacheEngine::CACHE_VALUES_INFO : CacheEngine::CACHE_PAGES_INFO;
        return $this->m_cacheEngine->getInfo($type);
    }