ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Settings UI class for system styles. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
executeCommand () | |
Main routing of the system styles. More... | |
checkPermission ($a_perm, $a_throw_exc=true) | |
Checks permission for system styles. More... | |
Protected Member Functions | |
setUnderworldTabs ($active="") | |
Sets the tab correctly if one system style is open (navigational underworld opened) More... | |
setUnderworldTitle () | |
Sets title correctly if one system style is opened. More... | |
Protected Attributes | |
$ctrl | |
$lng | |
$DIC | |
$tabs | |
$rbacsystem | |
$ref_id | |
$tpl | |
Settings UI class for system styles.
Acts as main router for the systems styles and handles permissions checks, sets tabs and title as well as description of the content section.
@ilCtrl_Calls ilSystemStyleMainGUI: ilSystemStyleOverviewGUI,ilSystemStyleSettingsGUI @ilCtrl_Calls ilSystemStyleMainGUI: ilSystemStyleLessGUI,ilSystemStyleIconsGUI,ilSystemStyleDocumentationGUI
Definition at line 20 of file class.ilSystemStyleMainGUI.php.
ilSystemStyleMainGUI::__construct | ( | ) |
ilSystemStyleMainGUI::checkPermission | ( | $a_perm, | |
$a_throw_exc = true |
|||
) |
Checks permission for system styles.
Permissions work on two levels, ordinary rbac and the 'enable_system_styles_management' setting in the tools section of the ilias.ini.php
$a_perm | ||
bool | true | $a_throw_exc |
ilObjectException |
Definition at line 159 of file class.ilSystemStyleMainGUI.php.
References $config, $ilIliasIniFile, and ilUtil\sendFailure().
Referenced by executeCommand().
ilSystemStyleMainGUI::executeCommand | ( | ) |
Main routing of the system styles.
Resets ilCtrl Parameter for all subsequent generation of links.
ilCtrlException | |
ilObjectException |
Definition at line 82 of file class.ilSystemStyleMainGUI.php.
References $_GET, checkPermission(), ilUtil\sendFailure(), setUnderworldTabs(), and setUnderworldTitle().
|
protected |
Sets the tab correctly if one system style is open (navigational underworld opened)
string | $active |
Definition at line 196 of file class.ilSystemStyleMainGUI.php.
Referenced by executeCommand().
|
protected |
Sets title correctly if one system style is opened.
ilSystemStyleException |
Definition at line 214 of file class.ilSystemStyleMainGUI.php.
References $_GET, $style, and ilSystemStyleSkinContainer\generateFromId().
Referenced by executeCommand().
|
protected |
Definition at line 25 of file class.ilSystemStyleMainGUI.php.
|
protected |
Definition at line 36 of file class.ilSystemStyleMainGUI.php.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilSystemStyleMainGUI.php.
|
protected |
Definition at line 47 of file class.ilSystemStyleMainGUI.php.
|
protected |
Definition at line 52 of file class.ilSystemStyleMainGUI.php.
|
protected |
Definition at line 41 of file class.ilSystemStyleMainGUI.php.
|
protected |
Definition at line 57 of file class.ilSystemStyleMainGUI.php.