ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 | |
$settings | |
$tree | |
$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 63 of file class.ilContentStyleSettingsGUI.php.
References $_GET, $DIC, and settings().
ilContentStyleSettingsGUI::cancelDelete | ( | ) |
cancel deletion of object
public
Definition at line 437 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 119 of file class.ilContentStyleSettingsGUI.php.
Referenced by confirmDeleteIndividualStyles(), confirmedDelete(), deleteStyle(), edit(), moveIndividualStyles(), moveLMStyles(), saveScope(), setScope(), toggleGlobalDefault(), and toggleGlobalFixed().
ilContentStyleSettingsGUI::confirmDeleteIndividualStyles | ( | ) |
Definition at line 245 of file class.ilContentStyleSettingsGUI.php.
References $_POST, ilObject\_lookupTitle(), and checkPermission().
Referenced by moveLMStyles().
ilContentStyleSettingsGUI::confirmedDelete | ( | ) |
delete selected style objects
Definition at line 301 of file class.ilContentStyleSettingsGUI.php.
References $_POST, $id, checkPermission(), and ilObjectFactory\getInstanceByObjId().
ilContentStyleSettingsGUI::createStyle | ( | ) |
Create new style.
Definition at line 134 of file class.ilContentStyleSettingsGUI.php.
References $ctrl, and $ilCtrl.
ilContentStyleSettingsGUI::deleteStyle | ( | ) |
display deletion confirmation screen
Definition at line 270 of file class.ilContentStyleSettingsGUI.php.
References $_POST, $id, ilObject\_lookupTitle(), checkPermission(), ilUtil\getImageTagByType(), and ilUtil\sendFailure().
ilContentStyleSettingsGUI::edit | ( | ) |
Show styles.
Definition at line 145 of file class.ilContentStyleSettingsGUI.php.
References $data, $si, $style, $table, ilObjContentObject\_getNrLMsIndividualStyles(), ilObjContentObject\_getNrLMsNoStyle(), ilObjContentObject\_getNrOfAssignedLMs(), ilObjStyleSheet\_lookupActive(), and checkPermission().
ilContentStyleSettingsGUI::executeCommand | ( | ) |
Execute command.
Definition at line 88 of file class.ilContentStyleSettingsGUI.php.
ilContentStyleSettingsGUI::moveIndividualStyles | ( | ) |
move all learning modules with individual styles to new style
Definition at line 233 of file class.ilContentStyleSettingsGUI.php.
References $_GET, ilObjContentObject\_moveLMStyles(), and checkPermission().
ilContentStyleSettingsGUI::moveLMStyles | ( | ) |
move learning modules from one style to another
Definition at line 215 of file class.ilContentStyleSettingsGUI.php.
References $_POST, ilObjContentObject\_moveLMStyles(), checkPermission(), and confirmDeleteIndividualStyles().
ilContentStyleSettingsGUI::saveActiveStyles | ( | ) |
Save active styles.
Definition at line 370 of file class.ilContentStyleSettingsGUI.php.
References $_POST, $style, ilObjStyleSheet\_writeActive(), and ilUtil\redirect().
ilContentStyleSettingsGUI::saveScope | ( | ) |
Save scope for style.
Definition at line 471 of file class.ilContentStyleSettingsGUI.php.
References $_GET, $tree, ilObjStyleSheet\_writeScope(), checkPermission(), and ilUtil\redirect().
ilContentStyleSettingsGUI::setScope | ( | ) |
Set scope.
Definition at line 446 of file class.ilContentStyleSettingsGUI.php.
References $ctrl, $ilCtrl, $tpl, and checkPermission().
ilContentStyleSettingsGUI::showActions | ( | $with_subobjects = false | ) |
show possible action (form buttons)
boolean | public |
Definition at line 390 of file class.ilContentStyleSettingsGUI.php.
References ilUtil\getImagePath().
ilContentStyleSettingsGUI::toggleGlobalDefault | ( | ) |
Toggle global default style.
Definition at line 322 of file class.ilContentStyleSettingsGUI.php.
References $_GET, $ilSetting, $lng, $settings, checkPermission(), and ilUtil\redirect().
ilContentStyleSettingsGUI::toggleGlobalFixed | ( | ) |
Toggle global fixed style.
Definition at line 346 of file class.ilContentStyleSettingsGUI.php.
References $_GET, $ilSetting, $lng, $settings, checkPermission(), and ilUtil\redirect().
|
protected |
Definition at line 28 of file class.ilContentStyleSettingsGUI.php.
Referenced by createStyle(), and setScope().
|
protected |
Definition at line 53 of file class.ilContentStyleSettingsGUI.php.
Referenced by __construct().
|
protected |
Definition at line 43 of file class.ilContentStyleSettingsGUI.php.
Referenced by toggleGlobalDefault(), and toggleGlobalFixed().
|
protected |
Definition at line 33 of file class.ilContentStyleSettingsGUI.php.
|
protected |
Definition at line 58 of file class.ilContentStyleSettingsGUI.php.
|
protected |
Definition at line 18 of file class.ilContentStyleSettingsGUI.php.
Referenced by toggleGlobalDefault(), and toggleGlobalFixed().
|
protected |
Definition at line 38 of file class.ilContentStyleSettingsGUI.php.
|
protected |
Definition at line 48 of file class.ilContentStyleSettingsGUI.php.
Referenced by setScope().
|
protected |
Definition at line 23 of file class.ilContentStyleSettingsGUI.php.
Referenced by saveScope().