You are here

public function FrxFile::getCacheEntry in Forena Reports 7.4

Returns the cache entry based on a filename.

Parameters

unknown $filename:

Return value

unknown

2 calls to FrxFile::getCacheEntry()
FrxFile::isCustom in ./FrxFile.inc
FrxFile::isOverriden in ./FrxFile.inc

File

./FrxFile.inc, line 402
FrxFile.inc File toolbox for manipulating files contained tn the report directory.

Class

FrxFile
@file FrxFile.inc File toolbox for manipulating files contained tn the report directory.

Code

public function getCacheEntry($filename) {
  if (!$this->cache) {
    $this
      ->validateAllCache();
  }
  list($base_name, $ext) = explode('.', $filename, 2);
  $cache = $this->cache[$ext][$base_name];
  return $cache;
}