You are here

public function FrxSkin::loadSkinFiles in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.4 FrxSkin.inc \FrxSkin::loadSkinFiles()

Adds on report specific skin files to

Parameters

$name name of report to add.:

File

./FrxSkin.inc, line 107
FrxSkin.inc Skinning

Class

FrxSkin
@file FrxSkin.inc Skinning

Code

public function loadSkinFiles($name) {
  $this
    ->addCSS('all', $name . '.css');
  foreach (Frx::Menu()->doc_formats as $ext) {
    $this
      ->addCSS($ext, $name . '-' . $ext . '.css');
  }
  $this
    ->addJS($name . '.js');
}