You are here

private function FileBase::_validateAllCache in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/File/FileBase.php \Drupal\forena\File\FileBase::_validateAllCache()
1 call to FileBase::_validateAllCache()
FileBase::validateAllCache in src/File/FileBaseOld.php
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

src/File/FileBaseOld.php, line 129
FileSystemBase.inc File toolbox for manipulating files contained tn the report directory.

Class

FileBase

Namespace

Drupal\forena\File

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);
      }
    }
  }
}