You are here

public function ReportFile::getReportCacheInfo in Forena Reports 7.5

Get the cached information for a single report.

Parameters

unknown $name:

Return value

unknown

File

src/File/ReportFile.php, line 84

Class

ReportFile

Namespace

Drupal\forena\File

Code

public function getReportCacheInfo($name) {
  global $language;
  $this
    ->validateAllCache();
  $data = $this
    ->getCache('frx');
  if ($language->language != 'en') {
    $lang = $language->language;
    $name = "{$lang}/{$name}";
  }
  return @$data[$name];
}