You are here

public function ReportFileSystem::getReportCacheInfo in Forena Reports 8

Get the cached information for a single report.

Parameters

string $name:

Return value

object

File

src/File/ReportFileSystem.php, line 122

Class

ReportFileSystem

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