/** * Check if content has a cache file * * @param array $pContentId Content id of cached item * @access public * @return absolute path */ function isCached($pContentId = NULL) { global $gBitSystem; if (empty($pContentId) && @BitBase::verifyId($this->mContentId)) { $pContentId = $this->mContentId; } return $gBitSystem->getConfig('liberty_cache') && is_file(LibertyContent::getCacheFile($pContentId)); }