With the following Code, the Cache Class remains empty (function and variables invisible) in Code Explorer.
Code: Select all
class Cache {
var $cachePath;
function CacheFileName ($fileName) {
return $this->cachePath . str_replace(array('..','\\'), '_', $fileName);
}
}
Code: Select all
class Cache {
var $cachePath;
function CacheFileName ($fileName) {
$a=array('..','\\');
return $this->cachePath . str_replace($a, '_', $fileName);
}
}