_config = $config; } // fetch an URL from cache, return null if not found public function getSefUrlFromCache( $nonSefUrl, & $sefUrl) { return sh404SEF_URLTYPE_NONE; } // fetch an URL from cache, return null if not found public function getNonSefUrlFromCache( $sefUrl, & $nonSefUrl) { return sh404SEF_URLTYPE_NONE; } public function addSefUrlToCache( $nonSefUrl, $sefUrl, $UrlType) { return null; } public function removeUrlFromCache( $nonSefUrlList) { return null; } public function purge() { return null; } public function getCacheStats() { $cacheTotal = $this->_urlCacheMisses+$this->_urlCacheHits; $out = 'Cache hits : '. $this->_urlCacheHits . " [".( !empty( $cacheTotal) ? (int)(100*$this->_urlCacheHits/$cacheTotal) . '%' : 'N/A') .']
'; $out .= 'Cache misses : '. $this->_urlCacheMisses . " [".( !empty( $cacheTotal) ? (int)(100*$this->_urlCacheMisses/$cacheTotal) . '%' : 'N/A'). ']
'; $out .= 'Cache total : '. $cacheTotal . '
'; $out .= 'Url added to cache : '. $this->_urlCacheCount . '
'; $out .= '


Misses list'; foreach($this->_urlCacheMissesList as $url) { $out .= '
'.$url.'

'; } return $out; } protected function _varExport( $cache, $start) { return false; } }