You are here

public function FileBase::getCache in Forena Reports 7.5

Same name and namespace in other branches
  1. 8 src/File/FileBaseOld.php \Drupal\forena\File\FileBase::getCache()
5 calls to FileBase::getCache()
DataFile::userBlocks in src/File/DataFile.php
List all the reports for a language.
ReportFile::allReports in src/File/ReportFile.php
List all the reports for a language.
ReportFile::getReportCacheInfo in src/File/ReportFile.php
Get the cached information for a single report.
ReportFile::menuReports in src/File/ReportFile.php
ReportFile::skins in src/File/ReportFile.php

File

src/File/FileBase.php, line 190
FileBase.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();
  }
}