2include_once 
"Services/Form/classes/class.ilPropertyFormGUI.php";
 
    3include_once(
"Services/Style/System/classes/Utilities/class.ilSkinXML.php");
 
    4include_once(
"Services/Style/System/classes/Utilities/class.ilSystemStyleSkinContainer.php");
 
    5include_once(
"Services/Style/System/classes/class.ilStyleDefinition.php");
 
    6include_once(
"Services/Style/System/classes/class.ilSystemStyleSettings.php");
 
    7include_once(
"Services/Style/System/classes/Exceptions/class.ilSystemStyleException.php");
 
    8include_once(
"Services/Style/System/classes/Utilities/class.ilSystemStyleMessageStack.php");
 
    9include_once(
"Services/Style/System/classes/Utilities/class.ilSystemStyleMessage.php");
 
   10include_once(
"Services/Style/System/classes/Settings/class.ilSysStyleCatAssignmentTableGUI.php");
 
   57                $this->ctrl = 
$DIC->ctrl();
 
   58                $this->lng = 
$DIC->language();
 
   59                $this->toolbar = 
$DIC->toolbar();
 
   60                $this->tpl = 
$DIC[
"tpl"];
 
   62                $this->tree = 
$DIC[
"tree"];
 
   75                $this->toolbar->addFormButton($this->lng->txt(
"sty_add_assignment"), 
"addAssignment");
 
   76                $this->toolbar->setFormAction($this->ctrl->getFormAction($this->getParentGui()));
 
   81                $this->tpl->setContent(
$tab->getHTML());
 
   91                include_once 
'Services/Search/classes/class.ilSearchRootSelector.php';
 
   93                        $this->ctrl->getLinkTarget($this->getParentGui(),
'addStyleCatAssignment'));
 
   94                $exp->setExpand(
$_GET[
"search_root_expand"] ? 
$_GET[
"search_root_expand"] : $this->tree->readRootId());
 
   95                $exp->setExpandTarget($this->ctrl->getLinkTarget($this->getParentGui(),
'addAssignment'));
 
   97                $exp->setCmd(
'saveAssignment');
 
   98                $exp->setClickableTypes([
"cat"]);
 
  101                $this->tpl->setContent($exp->getOutput());
 
  124                $this->ctrl->redirect($this->
getParentGui(), 
"assignStyle");
 
  138                if (is_array(
$_POST[
"id"]))
 
  140                        foreach (
$_POST[
"id"] as $id)
 
  142                                $id_arr = explode(
":", $id);
 
  144                                        $substyle->
getId(), $id_arr[1]);
 
  151                $this->ctrl->redirect($this->
getParentGui(), 
"assignStyle");
 
An exception for terminatinating execution or to throw for unit testing.
getSubstyleOf()
Returns the parent style of this style if set.
ilSkinXml holds an manages the basic data of a skin as provide by the template of the skin.
assignStyle(ilSkinXML $skin, ilSkinStyleXML $substyle)
Assign styles to categories.
setParentGui($parent_gui)
deleteAssignments(ilSkinXML $skin, ilSkinStyleXML $substyle)
Delete system style to category assignments.
saveAssignment(ilSkinXML $skin, ilSkinStyleXML $substyle)
Save style category assignment.
__construct(ilSystemStyleSettingsGUI $parent_gui)
Constructor.
addAssignment()
Add style category assignment.
TableGUI class for system style to category assignments.
Class for advanced editing exception handling in ILIAS.
static writeSystemStyleCategoryAssignment($a_skin_id, $a_style_id, $a_substyle, $a_ref_id)
Sets a substyle category assignment.
static deleteSystemStyleCategoryAssignment($a_skin_id, $a_style_id, $a_substyle, $a_ref_id)
Deletes all sub style category assignment of a system style.
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.