/** * Gets the configuration for a Flexiskin by ID * @param String $sId * @param boolean $bPreview * @return Status The status object */ public function getConfigFromId($sId, $bPreview = false) { if ($bPreview) { $oStatus = BsFileSystemHelper::getFileContent("conf.tmp.json", "flexiskin" . DS . $sId); } else { $oStatus = BsFileSystemHelper::getFileContent("conf.json", "flexiskin" . DS . $sId); } return $oStatus; }