4include_once 
"./Services/Object/classes/class.ilObjectGUI.php";
 
    5include_once(
"./Services/COPage/Layout/classes/class.ilPageLayout.php");
 
   56    public function __construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output = 
true)
 
   59        $this->rbacsystem = 
$DIC->rbac()->system();
 
   64        $this->ctrl = 
$DIC->ctrl();
 
   65        $this->lng = 
$DIC->language();
 
   66        $this->tabs = 
$DIC->tabs();
 
   68        parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
 
   70        $this->lng->loadLanguageModule(
"style");
 
   78        $next_class = $this->ctrl->getNextClass($this);
 
   79        $cmd = $this->ctrl->getCmd();
 
   81        if ($next_class == 
"" && in_array($cmd, array(
"view", 
""))) {
 
   82            $this->ctrl->redirectByClass(
"ilSystemStyleMainGUI", 
"");
 
   85        switch ($next_class) {
 
   86            case 'ilpermissiongui':
 
   88                $this->tabs->activateTab(
"perm_settings");
 
   89                include_once(
"Services/AccessControl/classes/class.ilPermissionGUI.php");
 
   91                $ret = $this->ctrl->forwardCommand($perm_gui);
 
   94            case 'ilsystemstylemaingui':
 
   96                $this->tabs->activateTab(
"system_styles");
 
   97                include_once(
"./Services/Style/System/classes/class.ilSystemStyleMainGUI.php");
 
   99                $this->ctrl->forwardCommand($gui);
 
  102            case 'ilpagelayoutadministrationgui':
 
  104                $this->tabs->activateTab(
"page_layouts");
 
  105                include_once(
"./Services/COPage/Layout/classes/class.ilPageLayoutAdministrationGUI.php");
 
  107                $this->ctrl->forwardCommand($gui);
 
  110            case 'ilcontentstylesettingsgui':
 
  111                include_once(
"./Services/Style/Content/classes/class.ilContentStyleSettingsGUI.php");
 
  113                $this->ctrl->forwardCommand($gui);
 
  114                if ($this->ctrl->getCmdClass() == 
"ilcontentstylesettingsgui") {
 
  115                    $this->tabs->activateTab(
"content_styles");
 
  165        if (
$rbacsystem->checkAccess(
"visible,read", $this->object->getRefId())) {
 
  166            $this->tabs_gui->addTab(
 
  168                $this->lng->txt(
"system_styles"),
 
  169                $this->ctrl->getLinkTargetByClass(
"ilsystemstylemaingui")
 
  172            $this->tabs_gui->addTab(
 
  174                $this->lng->txt(
"content_styles"),
 
  175                $this->ctrl->getLinkTargetByClass(
"ilcontentstylesettingsgui", 
"edit")
 
  178            $this->tabs_gui->addTab(
 
  180                $this->lng->txt(
"page_layouts"),
 
  181                $this->ctrl->getLinkTargetByClass(
"ilpagelayoutadministrationgui", 
"")
 
  185        if (
$rbacsystem->checkAccess(
'edit_permission', $this->object->getRefId())) {
 
  186            $this->tabs_gui->addTab(
 
  188                $this->lng->txt(
"perm_settings"),
 
  189                $this->ctrl->getLinkTargetByClass(array(get_class($this),
'ilpermissiongui'), 
"perm")
 
An exception for terminatinating execution or to throw for unit testing.
Settings UI class for system styles.
Style settings GUI class.
executeCommand()
Execute command.
getAdminTabs()
??? Save object
getTabs()
get tabs @access public
__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true)
Constructor.
Class ilObjectGUI Basic methods of all Output classes.
prepareOutput($a_show_subobjects=true)
prepare output
Administration for page layouts.
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
Settings UI class for system styles.