You are here

private function FrxFile::_validateAllCache in Forena Reports 7.4

1 call to FrxFile::_validateAllCache()
FrxFile::validateAllCache in ./FrxFile.inc
Called anytime we want to make sure the include cache is good and complete. Any file modifications will cause cache to be rebuild to be rebuilt.

File

./FrxFile.inc, line 137
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

private function _validateAllCache($prefix) {
  foreach ($this->cached_extensions as $ext) {
    if (isset($this->cache[$ext]) && is_array($this->cache[$ext])) {
      $names = array_keys($this->cache[$ext]);
      foreach ($names as $base_name) {
        $this
          ->validateCache($ext, $base_name);
      }
    }
  }
}