You are here

public function Skin::__construct in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/Skin.php \Drupal\forena\Skin::__construct()

Parameters

string $skin: Load the skin

File

src/Skin.php, line 54
Implements \Drupal\forena\Skins

Class

Skin
Class Skin A skin is a collectio of css and js files that need to get used by an application or reports. Skins are idntified by .fri files contained in the report directory.

Namespace

Drupal\forena

Code

public function __construct($skin) {
  $this->replacer = new ReportReplacer();
  $this
    ->load($skin);
}