ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Settings UI class for system styles. More...
Public Member Functions | |
__construct (ilObjStyleSettingsGUI $a_parent_gui) | |
Constructor. More... | |
executeCommand () | |
Execute command. More... | |
checkPermission ($a_perm, $a_throw_exc=true) | |
Check permission. More... | |
createStyle () | |
Create new style. More... | |
edit () | |
Show styles. More... | |
moveLMStyles () | |
move learning modules from one style to another More... | |
moveIndividualStyles () | |
move all learning modules with individual styles to new style More... | |
confirmDeleteIndividualStyles () | |
deleteStyle () | |
display deletion confirmation screen More... | |
confirmedDelete () | |
delete selected style objects More... | |
toggleGlobalDefault () | |
Toggle global default style. More... | |
toggleGlobalFixed () | |
Toggle global fixed style. More... | |
saveActiveStyles () | |
Save active styles. More... | |
showActions ($with_subobjects=false) | |
show possible action (form buttons) More... | |
cancelDelete () | |
cancel deletion of object More... | |
setScope () | |
Set scope. More... | |
saveScope () | |
Save scope for style. More... | |
Protected Attributes | |
$ctrl | |
$rbacsystem | |
$toolbar | |
$lng | |
$tpl | |
$DIC | |
$ref_id | |
Settings UI class for system styles.
Definition at line 13 of file class.ilContentStyleSettingsGUI.php.
ilContentStyleSettingsGUI::__construct | ( | ilObjStyleSettingsGUI | $a_parent_gui | ) |
Constructor.
Definition at line 53 of file class.ilContentStyleSettingsGUI.php.
References $_GET, $DIC, and settings().
ilContentStyleSettingsGUI::cancelDelete | ( | ) |
cancel deletion of object
public
Definition at line 449 of file class.ilContentStyleSettingsGUI.php.
References ilUtil\sendInfo().
ilContentStyleSettingsGUI::checkPermission | ( | $a_perm, | |
$a_throw_exc = true |
|||
) |
Check permission.
string | $a_perm | permission(s) |
ilObjectException |
Definition at line 110 of file class.ilContentStyleSettingsGUI.php.
Referenced by confirmDeleteIndividualStyles(), confirmedDelete(), deleteStyle(), edit(), moveIndividualStyles(), moveLMStyles(), saveScope(), setScope(), toggleGlobalDefault(), and toggleGlobalFixed().
ilContentStyleSettingsGUI::confirmDeleteIndividualStyles | ( | ) |
Definition at line 244 of file class.ilContentStyleSettingsGUI.php.
References $_POST, ilObject\_lookupTitle(), and checkPermission().
Referenced by moveLMStyles().
ilContentStyleSettingsGUI::confirmedDelete | ( | ) |
delete selected style objects
Definition at line 300 of file class.ilContentStyleSettingsGUI.php.
References $_POST, and checkPermission().
ilContentStyleSettingsGUI::createStyle | ( | ) |
Create new style.
Definition at line 127 of file class.ilContentStyleSettingsGUI.php.
References $ilCtrl.
ilContentStyleSettingsGUI::deleteStyle | ( | ) |
display deletion confirmation screen
Definition at line 267 of file class.ilContentStyleSettingsGUI.php.
References $_POST, checkPermission(), ilUtil\getImageTagByType(), and ilUtil\sendFailure().
ilContentStyleSettingsGUI::edit | ( | ) |
Show styles.
Definition at line 138 of file class.ilContentStyleSettingsGUI.php.
References $data, $si, $style, $styles, ilObjContentObject\_getNrLMsIndividualStyles(), ilObjContentObject\_getNrLMsNoStyle(), ilObjContentObject\_getNrOfAssignedLMs(), ilObjStyleSheet\_lookupActive(), array, checkPermission(), and settings().
ilContentStyleSettingsGUI::executeCommand | ( | ) |
Execute command.
Definition at line 75 of file class.ilContentStyleSettingsGUI.php.
ilContentStyleSettingsGUI::moveIndividualStyles | ( | ) |
move all learning modules with individual styles to new style
Definition at line 232 of file class.ilContentStyleSettingsGUI.php.
References $_GET, ilObjContentObject\_moveLMStyles(), and checkPermission().
ilContentStyleSettingsGUI::moveLMStyles | ( | ) |
move learning modules from one style to another
Definition at line 213 of file class.ilContentStyleSettingsGUI.php.
References $_POST, ilObjContentObject\_moveLMStyles(), checkPermission(), and confirmDeleteIndividualStyles().
ilContentStyleSettingsGUI::saveActiveStyles | ( | ) |
Save active styles.
Definition at line 377 of file class.ilContentStyleSettingsGUI.php.
References $_POST, $style, $styles, ilObjStyleSheet\_writeActive(), ilUtil\redirect(), and settings().
ilContentStyleSettingsGUI::saveScope | ( | ) |
Save scope for style.
Definition at line 479 of file class.ilContentStyleSettingsGUI.php.
References $_GET, ilObjStyleSheet\_writeScope(), checkPermission(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilContentStyleSettingsGUI::setScope | ( | ) |
Set scope.
Definition at line 459 of file class.ilContentStyleSettingsGUI.php.
References $ilCtrl, $tpl, array, and checkPermission().
ilContentStyleSettingsGUI::showActions | ( | $with_subobjects = false | ) |
show possible action (form buttons)
boolean | public |
Definition at line 401 of file class.ilContentStyleSettingsGUI.php.
References ilUtil\getImagePath().
ilContentStyleSettingsGUI::toggleGlobalDefault | ( | ) |
Toggle global default style.
Definition at line 323 of file class.ilContentStyleSettingsGUI.php.
References $_GET, $ilSetting, $lng, checkPermission(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilContentStyleSettingsGUI::toggleGlobalFixed | ( | ) |
Toggle global fixed style.
Definition at line 350 of file class.ilContentStyleSettingsGUI.php.
References $_GET, $ilSetting, $lng, checkPermission(), ilUtil\redirect(), and ilUtil\sendSuccess().
|
protected |
Definition at line 18 of file class.ilContentStyleSettingsGUI.php.
|
protected |
Definition at line 43 of file class.ilContentStyleSettingsGUI.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilContentStyleSettingsGUI.php.
Referenced by toggleGlobalDefault(), and toggleGlobalFixed().
|
protected |
Definition at line 23 of file class.ilContentStyleSettingsGUI.php.
|
protected |
Definition at line 48 of file class.ilContentStyleSettingsGUI.php.
|
protected |
Definition at line 28 of file class.ilContentStyleSettingsGUI.php.
|
protected |
Definition at line 38 of file class.ilContentStyleSettingsGUI.php.
Referenced by setScope().