ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct ($read_only, $management_enabled) | |
Constructor. More... | |
executeCommand () | |
Execute command. More... | |
edit () | |
Edit. More... | |
moveUserStyles () | |
Move user styles. More... | |
saveStyleSettings () | |
Save skin and style settings. More... | |
isReadOnly () | |
setReadOnly ($read_only) | |
isManagementEnabled () | |
setManagementEnabled ($management_enabled) | |
Protected Member Functions | |
view () | |
cancel () | |
checkStyleSettings (ilSystemStyleMessageStack $message_stack) | |
addSystemStyle () | |
create More... | |
saveNewSystemStyle () | |
createSystemStyleForm () | |
importSystemStyleForm () | |
cloneSystemStyleForm () | |
copyStyle () | |
deleteStyle () | |
deleteStyles () | |
checkDeletable ($skin_id, $style_id, ilSystemStyleMessageStack $message_stack) | |
confirmDelete () | |
importStyle () | |
export () | |
addSubStyleForms () | |
saveNewSubStyle () | |
Protected Attributes | |
$ctrl | |
$toolbar | |
$lng | |
$tpl | |
$DIC | |
$ref_id | |
$read_only = true | |
$management_enabled = false | |
Definition at line 20 of file class.ilSystemStyleOverviewGUI.php.
ilSystemStyleOverviewGUI::__construct | ( | $read_only, | |
$management_enabled | |||
) |
Constructor.
Definition at line 66 of file class.ilSystemStyleOverviewGUI.php.
References $_GET, $DIC, $management_enabled, $read_only, setManagementEnabled(), and setReadOnly().
|
protected |
Definition at line 684 of file class.ilSystemStyleOverviewGUI.php.
References $options, $style, $styles, array, ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
Referenced by export(), and saveNewSubStyle().
|
protected |
create
Definition at line 299 of file class.ilSystemStyleOverviewGUI.php.
|
protected |
Definition at line 133 of file class.ilSystemStyleOverviewGUI.php.
References edit().
|
protected |
$skin_id | ||
$style_id | ||
ilSystemStyleMessageStack | $message_stack |
ilSystemStyleException |
Definition at line 578 of file class.ilSystemStyleOverviewGUI.php.
References ilObjUser\_getNumberOfUsersForStyle(), ilSystemStyleSettings\_lookupActivatedStyle(), ilSystemStyleMessageStack\addMessage(), ilSystemStyleSkinContainer\generateFromId(), ilSystemStyleSettings\getCurrentDefaultSkin(), and ilSystemStyleMessage\TYPE_ERROR.
Referenced by deleteStyle(), and deleteStyles().
|
protected |
ilSystemStyleMessageStack | $message_stack |
Definition at line 261 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, ilObjUser\_getNumberOfUsersForStyle(), ilSystemStyleMessageStack\addMessage(), and ilSystemStyleMessage\TYPE_ERROR.
Referenced by saveStyleSettings().
|
protected |
Definition at line 430 of file class.ilSystemStyleOverviewGUI.php.
References $options, $style, $styles, array, ilAccordionGUI\FIRST_OPEN, and ilFormPropertyGUI\setRequired().
Referenced by saveNewSystemStyle().
|
protected |
Definition at line 604 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, ilSystemStyleSkinContainer\generateFromId(), and ilSystemStyleMessage\TYPE_ERROR.
|
protected |
Definition at line 500 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, ilSystemStyleSkinContainer\generateFromId(), ilSystemStyleMessage\TYPE_ERROR, and ilSystemStyleMessage\TYPE_SUCCESS.
|
protected |
Definition at line 368 of file class.ilSystemStyleOverviewGUI.php.
References ilFormPropertyGUI\setInfo().
Referenced by saveNewSystemStyle().
|
protected |
Definition at line 522 of file class.ilSystemStyleOverviewGUI.php.
References $_GET, checkDeletable(), edit(), ilSystemStyleSkinContainer\generateFromId(), and ilSystemStyleMessage\TYPE_ERROR.
|
protected |
Definition at line 540 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, checkDeletable(), edit(), ilSystemStyleSkinContainer\generateFromId(), and ilSystemStyleMessage\TYPE_ERROR.
ilSystemStyleOverviewGUI::edit | ( | ) |
Edit.
Definition at line 139 of file class.ilSystemStyleOverviewGUI.php.
References $options, $si, array, ilSubmitButton\getInstance(), ilLinkButton\getInstance(), and isManagementEnabled().
Referenced by cancel(), deleteStyle(), and deleteStyles().
ilSystemStyleOverviewGUI::executeCommand | ( | ) |
Execute command.
Definition at line 86 of file class.ilSystemStyleOverviewGUI.php.
References $cmd, isManagementEnabled(), and isReadOnly().
|
protected |
Definition at line 649 of file class.ilSystemStyleOverviewGUI.php.
References $_GET, $DIC, addSubStyleForms(), ilSystemStyleSkinContainer\generateFromId(), ilHelpGUI\ID_PART_SCREEN, and ilUtil\sendFailure().
|
protected |
Definition at line 630 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, ilSystemStyleSkinContainer\import(), importSystemStyleForm(), and ilSystemStyleMessage\TYPE_SUCCESS.
|
protected |
Definition at line 410 of file class.ilSystemStyleOverviewGUI.php.
References array, and ilFormPropertyGUI\setRequired().
Referenced by importStyle(), and saveNewSystemStyle().
ilSystemStyleOverviewGUI::isManagementEnabled | ( | ) |
Definition at line 777 of file class.ilSystemStyleOverviewGUI.php.
References $management_enabled.
Referenced by edit(), and executeCommand().
ilSystemStyleOverviewGUI::isReadOnly | ( | ) |
Definition at line 761 of file class.ilSystemStyleOverviewGUI.php.
References $read_only.
Referenced by executeCommand().
ilSystemStyleOverviewGUI::moveUserStyles | ( | ) |
Move user styles.
Definition at line 193 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, $style, ilObjUser\_getAllUserAssignedStyles(), ilObjUser\_moveUsersToStyle(), ilUtil\sendSuccess(), and ilStyleDefinition\styleExists().
|
protected |
Definition at line 726 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, $style, addSubStyleForms(), ilSystemStyleSkinContainer\generateFromId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Definition at line 305 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, $DIC, $style, array, cloneSystemStyleForm(), createSystemStyleForm(), ilHelpGUI\ID_PART_SCREEN, importSystemStyleForm(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilStyleDefinition\skinExists(), and ilSystemStyleMessage\TYPE_ERROR.
ilSystemStyleOverviewGUI::saveStyleSettings | ( | ) |
Save skin and style settings.
Definition at line 227 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, ilSystemStyleSettings\_activateStyle(), ilSystemStyleSettings\_deactivateStyle(), checkStyleSettings(), ilSystemStyleSettings\setCurrentDefaultStyle(), and ilSystemStyleMessage\TYPE_SUCCESS.
ilSystemStyleOverviewGUI::setManagementEnabled | ( | $management_enabled | ) |
boolean | $management_enabled |
Definition at line 785 of file class.ilSystemStyleOverviewGUI.php.
References $management_enabled.
Referenced by __construct().
ilSystemStyleOverviewGUI::setReadOnly | ( | $read_only | ) |
boolean | $read_only |
Definition at line 769 of file class.ilSystemStyleOverviewGUI.php.
References $read_only.
Referenced by __construct().
|
protected |
Definition at line 128 of file class.ilSystemStyleOverviewGUI.php.
|
protected |
Definition at line 25 of file class.ilSystemStyleOverviewGUI.php.
|
protected |
Definition at line 45 of file class.ilSystemStyleOverviewGUI.php.
Referenced by __construct(), export(), and saveNewSystemStyle().
|
protected |
Definition at line 35 of file class.ilSystemStyleOverviewGUI.php.
|
protected |
Definition at line 60 of file class.ilSystemStyleOverviewGUI.php.
Referenced by __construct(), isManagementEnabled(), and setManagementEnabled().
|
protected |
Definition at line 55 of file class.ilSystemStyleOverviewGUI.php.
Referenced by __construct(), isReadOnly(), and setReadOnly().
|
protected |
Definition at line 50 of file class.ilSystemStyleOverviewGUI.php.
|
protected |
Definition at line 30 of file class.ilSystemStyleOverviewGUI.php.
|
protected |
Definition at line 40 of file class.ilSystemStyleOverviewGUI.php.