/** * Constructor * @access public */ function ilObjStyleSheetGUI($a_data, $a_id, $a_call_by_reference, $a_prep = true) { global $ilCtrl, $lng, $tpl; $this->ctrl =& $ilCtrl; $this->lng =& $lng; $this->lng->loadLanguageModule("style"); $ilCtrl->saveParameter($this, array("tag", "style_type", "temp_type")); if ($_GET["style_type"] != "") { $this->super_type = ilObjStyleSheet::_getStyleSuperTypeForType($_GET["style_type"]); } $this->type = "sty"; $this->ilObjectGUI($a_data, $a_id, $a_call_by_reference, false); }