|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
This class acts as Model for all system styles settings related settings such as activated or default system styles etc, be it in database or inifile. More...
Collaboration diagram for ilSystemStyleSettings:Static Public Member Functions | |
| static | _lookupActivatedStyle ($a_skin, $a_style) |
| lookup if a style is activated More... | |
| static | _deactivateStyle ($a_skin, $a_style) |
| deactivate system style More... | |
| static | _activateStyle ($a_skin, $a_style) |
| activate system style More... | |
| static | getSystemStyleCategoryAssignments ($a_skin_id, $a_style_id) |
| Get all system sub styles category assignments. More... | |
| static | getSubStyleCategoryAssignments ($a_skin_id, $a_style_id, $a_sub_style_id) |
| Get all system category assignments of exactly one substyle. More... | |
| static | writeSystemStyleCategoryAssignment ($a_skin_id, $a_style_id, $a_substyle, $a_ref_id) |
| Sets a substyle category assignment. More... | |
| static | deleteSystemStyleCategoryAssignment ($a_skin_id, $a_style_id, $a_substyle, $a_ref_id) |
| Deletes all sub style category assignment of a system style. More... | |
| static | deleteSubStyleCategoryAssignments ($a_skin_id, $a_style_id, $a_substyle) |
| Delets a sub styles category assignment. More... | |
| static | setCurrentUserPrefStyle ($skin_id, $style_id) |
| Sets a users preferred system skin/style by using the user object. More... | |
| static | getCurrentUserPrefSkin () |
| Gets a users preferred skin by using the user object. More... | |
| static | getCurrentUserPrefStyle () |
| Gets a users preferred style by using the user object. More... | |
| static | setCurrentDefaultStyle ($skin_id, $style_id) |
| Sets the default style of the system. More... | |
| static | resetDefaultToDelos () |
| static | getCurrentDefaultSkin () |
| Gets default Skin of the System. More... | |
| static | getCurrentDefaultStyle () |
| Gets default style of the system. More... | |
This class acts as Model for all system styles settings related settings such as activated or default system styles etc, be it in database or inifile.
Do not use this class to get the current system style, use ilStyleDefinition insteaed.
Semantics of terms style, sub style, skin, template --> see ilStyleDefinition
Definition at line 19 of file class.ilSystemStyleSettings.php.
|
static |
activate system style
| $a_skin | |
| $a_style |
Definition at line 74 of file class.ilSystemStyleSettings.php.
References $ilDB.
Referenced by _deactivateStyle(), ilSystemStyleSettingsGUI\saveStyle(), ilSystemStyleOverviewGUI\saveStyleSettings(), and setCurrentDefaultStyle().
Here is the caller graph for this function:
|
static |
deactivate system style
| $a_skin | |
| $a_style |
Definition at line 55 of file class.ilSystemStyleSettings.php.
References $ilDB, and _activateStyle().
Referenced by ilSystemStyleSettingsGUI\saveStyle(), and ilSystemStyleOverviewGUI\saveStyleSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
lookup if a style is activated
| $a_skin | |
| $a_style |
Definition at line 28 of file class.ilSystemStyleSettings.php.
References $ilDB.
Referenced by ilSoapInstallationInfoXMLWriter\__buildClient(), ilUserImportParser\__construct(), ilSystemStyleOverviewGUI\checkDeletable(), ilSystemStylesTableGUI\fillRow(), ilSystemStyleSettingsGUI\getPropertiesValues(), and ilPersonalSettingsGUI\initGeneralSettingsForm().
Here is the caller graph for this function:
|
static |
Delets a sub styles category assignment.
| $a_skin_id | |
| $a_style_id | |
| $a_substyle |
Definition at line 200 of file class.ilSystemStyleSettings.php.
References $ilDB.
Referenced by ilSystemStyleSkinContainer\deleteStyle().
Here is the caller graph for this function:
|
static |
Deletes all sub style category assignment of a system style.
This is used if a system style is deleted completely
| $a_skin_id | |
| $a_style_id | |
| $a_substyle | |
| $a_ref_id |
Definition at line 181 of file class.ilSystemStyleSettings.php.
References $ilDB.
Referenced by ilSubStyleAssignmentGUI\deleteAssignments().
Here is the caller graph for this function:
|
static |
Gets default Skin of the System.
Definition at line 273 of file class.ilSystemStyleSettings.php.
References $DIC, resetDefaultToDelos(), and ilStyleDefinition\skinExists().
Referenced by ilSystemStyleOverviewGUI\checkDeletable(), ilSystemStylesTableGUI\fillRow(), ilSystemStyleSettingsGUI\getPropertiesValues(), and ilSystemStyleSettingsGUI\saveStyle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Gets default style of the system.
Definition at line 288 of file class.ilSystemStyleSettings.php.
References $DIC, resetDefaultToDelos(), and ilStyleDefinition\styleExistsForSkinId().
Referenced by ilSystemStylesTableGUI\fillRow(), ilSystemStyleSettingsGUI\getPropertiesValues(), and ilSystemStyleSettingsGUI\saveStyle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Gets a users preferred skin by using the user object.
Definition at line 229 of file class.ilSystemStyleSettings.php.
References $DIC.
Referenced by ilSystemStyleSettingsGUI\saveStyle().
Here is the caller graph for this function:
|
static |
Gets a users preferred style by using the user object.
Definition at line 240 of file class.ilSystemStyleSettings.php.
References $DIC.
Referenced by ilSystemStyleSettingsGUI\saveStyle().
Here is the caller graph for this function:
|
static |
Get all system category assignments of exactly one substyle.
This is used to check wheter a system sub style is to be used in a particular category.
| $a_skin_id | |
| $a_style_id | |
| $a_sub_style_id |
Definition at line 121 of file class.ilSystemStyleSettings.php.
References $ilDB.
Referenced by ilSystemStylesTableGUI\fillRow(), ilSysStyleCatAssignmentTableGUI\getStyleCatAssignments(), and writeSystemStyleCategoryAssignment().
Here is the caller graph for this function:
|
static |
Get all system sub styles category assignments.
This is used to check wheter a system sub style is to be used in a particular category.
| string | $a_skin_id | skin id |
| string | $a_style_id | style id |
Definition at line 93 of file class.ilSystemStyleSettings.php.
References $ilDB.
|
static |
Definition at line 262 of file class.ilSystemStyleSettings.php.
References setCurrentDefaultStyle().
Referenced by getCurrentDefaultSkin(), and getCurrentDefaultStyle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Sets the default style of the system.
| $skin_id | |
| $style_id |
Definition at line 252 of file class.ilSystemStyleSettings.php.
References $DIC, and _activateStyle().
Referenced by resetDefaultToDelos(), ilSystemStyleSettingsGUI\saveStyle(), and ilSystemStyleOverviewGUI\saveStyleSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Sets a users preferred system skin/style by using the user object.
| $skin_id | |
| $style_id |
Definition at line 216 of file class.ilSystemStyleSettings.php.
References $DIC.
Referenced by ilSystemStyleSettingsGUI\saveStyle().
Here is the caller graph for this function:
|
static |
Sets a substyle category assignment.
| $a_skin_id | |
| $a_style_id | |
| $a_substyle | |
| $a_ref_id |
| ilSystemStyleException |
Definition at line 151 of file class.ilSystemStyleSettings.php.
References $ilDB, getSubStyleCategoryAssignments(), and ilSystemStyleException\SUBSTYLE_ASSIGNMENT_EXISTS.
Referenced by ilSubStyleAssignmentGUI\saveAssignment().
Here is the call graph for this function:
Here is the caller graph for this function: