31 public function __construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output =
true)
37 $this->
lng->loadLanguageModule(
"style");
45 $next_class = $this->
ctrl->getNextClass($this);
46 $cmd = $this->
ctrl->getCmd();
48 if ($next_class ==
"" && in_array($cmd, array(
"view",
""))) {
49 $this->
ctrl->redirectByClass(
"ilSystemStyleMainGUI",
"");
52 switch ($next_class) {
53 case 'ilpermissiongui':
55 $this->tabs_gui->activateTab(
"perm_settings");
57 $this->
ctrl->forwardCommand($perm_gui);
60 case 'ilsystemstylemaingui':
62 $this->tabs_gui->activateTab(
"system_styles");
64 $this->
ctrl->forwardCommand($gui);
67 case 'ilpagelayoutadministrationgui':
69 $this->tabs_gui->activateTab(
"page_layouts");
71 $this->
ctrl->forwardCommand($gui);
74 case 'ilcontentstylesettingsgui':
76 $this->
ctrl->forwardCommand($gui);
77 if ($this->
ctrl->getCmdClass() ==
"ilcontentstylesettingsgui") {
78 $this->tabs_gui->activateTab(
"content_styles");
123 if ($this->rbac_system->checkAccess(
"visible,read", $this->object->getRefId())) {
124 $this->tabs_gui->addTab(
126 $this->
lng->txt(
"system_styles"),
127 $this->
ctrl->getLinkTargetByClass(
"ilsystemstylemaingui")
130 $this->tabs_gui->addTab(
132 $this->
lng->txt(
"content_styles"),
133 $this->
ctrl->getLinkTargetByClass(
"ilcontentstylesettingsgui",
"edit")
136 $this->tabs_gui->addTab(
138 $this->
lng->txt(
"page_layouts"),
139 $this->
ctrl->getLinkTargetByClass(
"ilpagelayoutadministrationgui",
"")
143 if ($this->rbac_system->checkAccess(
'edit_permission', $this->object->getRefId())) {
144 $this->tabs_gui->addTab(
146 $this->
lng->txt(
"perm_settings"),
147 $this->
ctrl->getLinkTargetByClass(array(get_class($this),
'ilpermissiongui'),
"perm")
prepareOutput(bool $show_sub_objects=true)
__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true)
Constructor.
getAdminTabs()
??? Save object
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilObjectGUI Basic methods of all Output classes.
Settings UI class for system styles.
executeCommand()
Execute command.
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
Administration for page layouts.
Settings UI class for system styles.