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"];
 
   76        $this->toolbar->addFormButton($this->lng->txt(
"sty_add_assignment"), 
"addAssignment");
 
   77        $this->toolbar->setFormAction($this->ctrl->getFormAction($this->getParentGui()));
 
   87        $this->tpl->setContent(
$tab->getHTML());
 
   96        include_once 
'Services/Search/classes/class.ilSearchRootSelector.php';
 
   98            $this->ctrl->getLinkTarget($this->getParentGui(), 
'addStyleCatAssignment')
 
  100        $exp->setExpand(
$_GET[
"search_root_expand"] ? 
$_GET[
"search_root_expand"] : $this->tree->readRootId());
 
  101        $exp->setExpandTarget($this->ctrl->getLinkTarget($this->getParentGui(), 
'addAssignment'));
 
  103        $exp->setCmd(
'saveAssignment');
 
  104        $exp->setClickableTypes([
"cat"]);
 
  107        $this->tpl->setContent($exp->getOutput());
 
  127            ilUtil::sendSuccess($this->lng->txt(
"msg_obj_modified"), 
true);
 
  133        $this->ctrl->redirect($this->
getParentGui(), 
"assignStyle");
 
  147        if (is_array(
$_POST[
"id"])) {
 
  149                $id_arr = explode(
":", 
$id);
 
  157            ilUtil::sendSuccess($this->lng->txt(
"msg_obj_modified"), 
true);
 
  162        $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 sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
if(!array_key_exists('StateId', $_REQUEST)) $id