ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 () | |
addSystemStyleForms () | |
create More... | |
createSystemStyleForm () | |
importSystemStyleForm () | |
cloneSystemStyleForm () | |
copyStyle () | |
deleteStyle () | |
deleteStyles () | |
checkDeletable ($skin_id, $style_id, ilSystemStyleMessageStack $message_stack) | |
confirmDelete () | |
importStyle () | |
export () | |
addSubStyle () | |
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 |
Since clearTargets also clears the help screen ids
Definition at line 643 of file class.ilSystemStyleOverviewGUI.php.
References $DIC, $form, and addSubStyleForms().
|
protected |
Definition at line 663 of file class.ilSystemStyleOverviewGUI.php.
References $form, $id, PHPMailer\PHPMailer\$options, $style, ilStyleDefinition\getAllSkinStyles(), ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
Referenced by addSubStyle(), and saveNewSubStyle().
|
protected |
create
Definition at line 283 of file class.ilSystemStyleOverviewGUI.php.
References addSystemStyleForms().
|
protected |
create
Since clearTargets also clears the help screen ids
Definition at line 327 of file class.ilSystemStyleOverviewGUI.php.
References $DIC, cloneSystemStyleForm(), createSystemStyleForm(), and importSystemStyleForm().
Referenced by addSystemStyle().
|
protected |
Definition at line 133 of file class.ilSystemStyleOverviewGUI.php.
References edit().
|
protected |
$skin_id | ||
$style_id | ||
ilSystemStyleMessageStack | $message_stack |
ilSystemStyleException |
Definition at line 560 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 250 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, ilObjUser\_getNumberOfUsersForStyle(), ilSystemStyleMessageStack\addMessage(), ilStyleDefinition\getAllSkinStyles(), and ilSystemStyleMessage\TYPE_ERROR.
Referenced by saveStyleSettings().
|
protected |
Definition at line 415 of file class.ilSystemStyleOverviewGUI.php.
References $form, $id, PHPMailer\PHPMailer\$options, $style, ilAccordionGUI\FIRST_OPEN, ilStyleDefinition\getAllSkinStyles(), and ilFormPropertyGUI\setRequired().
Referenced by addSystemStyleForms().
|
protected |
Definition at line 583 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, $container, $key, ilSystemStyleSkinContainer\generateFromId(), and ilSystemStyleMessage\TYPE_ERROR.
|
protected |
Definition at line 483 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, $container, ilSystemStyleSkinContainer\generateFromId(), ilSystemStyleMessage\TYPE_ERROR, and ilSystemStyleMessage\TYPE_SUCCESS.
|
protected |
Definition at line 351 of file class.ilSystemStyleOverviewGUI.php.
References $form, and ilFormPropertyGUI\setInfo().
Referenced by addSystemStyleForms(), and saveNewSystemStyle().
|
protected |
Definition at line 506 of file class.ilSystemStyleOverviewGUI.php.
References $_GET, $container, checkDeletable(), edit(), ilSystemStyleSkinContainer\generateFromId(), and ilSystemStyleMessage\TYPE_ERROR.
|
protected |
Definition at line 523 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, $container, checkDeletable(), edit(), ilSystemStyleSkinContainer\generateFromId(), and ilSystemStyleMessage\TYPE_ERROR.
ilSystemStyleOverviewGUI::edit | ( | ) |
Edit.
Definition at line 140 of file class.ilSystemStyleOverviewGUI.php.
References $id, PHPMailer\PHPMailer\$options, $si, $table, ilStyleDefinition\getAllSkinStyles(), 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 isManagementEnabled(), and isReadOnly().
|
protected |
Definition at line 628 of file class.ilSystemStyleOverviewGUI.php.
References $_GET, $container, ilSystemStyleSkinContainer\generateFromId(), and ilUtil\sendFailure().
|
protected |
Definition at line 609 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, $form, ilSystemStyleSkinContainer\import(), importSystemStyleForm(), and ilSystemStyleMessage\TYPE_SUCCESS.
|
protected |
Definition at line 394 of file class.ilSystemStyleOverviewGUI.php.
References $form, and ilFormPropertyGUI\setRequired().
Referenced by addSystemStyleForms(), and importStyle().
ilSystemStyleOverviewGUI::isManagementEnabled | ( | ) |
Definition at line 760 of file class.ilSystemStyleOverviewGUI.php.
References $management_enabled.
Referenced by edit(), and executeCommand().
ilSystemStyleOverviewGUI::isReadOnly | ( | ) |
Definition at line 744 of file class.ilSystemStyleOverviewGUI.php.
References $read_only.
Referenced by executeCommand().
ilSystemStyleOverviewGUI::moveUserStyles | ( | ) |
Move user styles.
Definition at line 192 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, $from, $style, ilObjUser\_getAllUserAssignedStyles(), ilObjUser\_moveUsersToStyle(), and ilStyleDefinition\styleExists().
|
protected |
Definition at line 705 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, $container, $form, $style, addSubStyleForms(), ilSystemStyleSkinContainer\generateFromId(), ilUtil\sendFailure(), and ilSystemStyleException\SUBSTYLE_ASSIGNMENT_EXISTS.
|
protected |
Definition at line 289 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, $container, $form, $style, createSystemStyleForm(), ilUtil\sendFailure(), ilStyleDefinition\skinExists(), and ilSystemStyleMessage\TYPE_ERROR.
ilSystemStyleOverviewGUI::saveStyleSettings | ( | ) |
Save skin and style settings.
Definition at line 221 of file class.ilSystemStyleOverviewGUI.php.
References $_POST, ilSystemStyleSettings\_activateStyle(), ilSystemStyleSettings\_deactivateStyle(), checkStyleSettings(), ilStyleDefinition\getAllSkinStyles(), ilSystemStyleSettings\setCurrentDefaultStyle(), and ilSystemStyleMessage\TYPE_SUCCESS.
ilSystemStyleOverviewGUI::setManagementEnabled | ( | $management_enabled | ) |
boolean | $management_enabled |
Definition at line 768 of file class.ilSystemStyleOverviewGUI.php.
References $management_enabled.
Referenced by __construct().
ilSystemStyleOverviewGUI::setReadOnly | ( | $read_only | ) |
boolean | $read_only |
Definition at line 752 of file class.ilSystemStyleOverviewGUI.php.
References $read_only.
Referenced by __construct().
|
protected |
Definition at line 127 of file class.ilSystemStyleOverviewGUI.php.
References $table.
|
protected |
Definition at line 25 of file class.ilSystemStyleOverviewGUI.php.
|
protected |
Definition at line 45 of file class.ilSystemStyleOverviewGUI.php.
Referenced by __construct(), addSubStyle(), and addSystemStyleForms().
|
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.