You are here

public function FileBase::getCache in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/File/FileBase.php \Drupal\forena\File\FileBase::getCache()

File

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

Class

FileBase

Namespace

Drupal\forena\File

Code

public function getCache($ext) {
  if (isset($this->cache[$ext])) {
    return $this->cache[$ext];
  }
  else {
    return array();
  }
}