You are here

public function ReportFile::skins in Forena Reports 7.5

File

src/File/ReportFile.php, line 178

Class

ReportFile

Namespace

Drupal\forena\File

Code

public function skins() {
  $this
    ->validateAllCache();
  $this
    ->getCache('skinfo');
  $skins = array();
  if (isset($this->cache['skinfo'])) {
    foreach ($this->cache['skinfo'] as $name => $obj) {
      $skins[$name] = isset($obj->cache['name']) ? $obj->cache['name'] : $name;
    }
  }
  return $skins;
}