/** * Set Style */ private function setStyle() { include_once "./Services/Style/classes/class.ilObjStyleSheet.php"; if ($this->pg_obj->getParentType() == "gdf" || $this->pg_obj->getParentType() == "lm" || $this->pg_obj->getParentType() == "dbk") { if ($this->pg_obj->getParentType() != "gdf") { $this->tpl->setContentStylesheet(ilObjStyleSheet::getContentStylePath(ilObjContentObject::_lookupStyleSheetId($this->pg_obj->getParentId()))); } else { $this->tpl->setContentStylesheet(ilObjStyleSheet::getContentStylePath(0)); } } else { if ($this->pg_obj->getParentType() != "sahs") { // $this->tpl->setContentStylesheet(ilObjStyleSheet::getContentStylePath(0)); } } }