You are here

public static function Skin::parseJSON in Forena Reports 8

Parameters

string $data Data to be parsed:

1 call to Skin::parseJSON()
Report::setReport in src/Report.php
Sets the report.

File

src/Skin.php, line 187
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 static function parseJSON($data) {
  $parsed = json_decode($data, TRUE);
  return $parsed;
}