|
ILIAS
release_8 Revision v8.24
|
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 (string $a_skin, string $a_style) |
| lookup if a style is activated More... | |
| static | _deactivateStyle (string $a_skin, string $a_style) |
| deactivate system style More... | |
| static | _activateStyle (string $a_skin, string $a_style) |
| activate system style More... | |
| static | getSystemStyleCategoryAssignments (string $a_skin_id, string $a_style_id) |
| Get all system sub styles category assignments. More... | |
| static | getSubStyleCategoryAssignments (string $a_skin_id, string $a_style_id, string $a_sub_style_id) |
| Get all system category assignments of exactly one substyle. More... | |
| static | writeSystemStyleCategoryAssignment (string $a_skin_id, string $a_style_id, string $a_substyle, string $a_ref_id) |
| Sets a substyle category assignment. More... | |
| static | deleteSystemStyleCategoryAssignment (string $a_skin_id, string $a_style_id, string $a_substyle, string $a_ref_id) |
| Deletes all sub style category assignment of a system style. More... | |
| static | deleteSubStyleCategoryAssignments (string $a_skin_id, string $a_style_id, string $a_substyle) |
| Delets a sub styles category assignment. More... | |
| static | updateSkinIdAndStyleIDOfSubStyleCategoryAssignments (string $old_skin_id, string $old_style_id, string $new_skin_id, string $new_style_id) |
| Updates an assignment, e.g. More... | |
| static | updateSubStyleIdfSubStyleCategoryAssignments (string $old_substyle_id, string $new_substyle_id) |
| Updates an assignment, e.g. More... | |
| static | setCurrentUserPrefStyle (string $skin_id, string $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 (string $skin_id, string $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 27 of file class.ilSystemStyleSettings.php.
|
static |
activate system style
Definition at line 69 of file class.ilSystemStyleSettings.php.
References $DIC.
Referenced by _deactivateStyle(), and ilSystemStyleOverviewGUI\saveStyleSettings().
Here is the caller graph for this function:
|
static |
deactivate system style
Definition at line 53 of file class.ilSystemStyleSettings.php.
References $DIC, and _activateStyle().
Referenced by 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
Definition at line 32 of file class.ilSystemStyleSettings.php.
References $DIC.
Referenced by ilUserImportParser\__construct(), ilSystemStyleSettingsGUI\editSystemStyleForm(), ilSystemStylesTableGUI\fillRow(), ilObjUserGUI\initForm(), and ilPersonalSettingsGUI\initGeneralSettingsForm().
Here is the caller graph for this function:
|
static |
Delets a sub styles category assignment.
Definition at line 185 of file class.ilSystemStyleSettings.php.
References $DIC.
Referenced by ilSkinStyleContainer\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
Definition at line 167 of file class.ilSystemStyleSettings.php.
Referenced by ilSubStyleAssignmentGUI\deleteAssignments().
Here is the caller graph for this function:
|
static |
Gets default Skin of the System.
Definition at line 283 of file class.ilSystemStyleSettings.php.
References $DIC, and ilStyleDefinition\skinExists().
Referenced by ilSystemStyleSettingsGUI\editSystemStyleForm(), and ilSystemStylesTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Gets default style of the system.
| ilSystemStyleException |
Definition at line 300 of file class.ilSystemStyleSettings.php.
References $DIC, and ilStyleDefinition\styleExistsForSkinId().
Referenced by ilSystemStyleSettingsGUI\editSystemStyleForm(), and ilSystemStylesTableGUI\fillRow().
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 242 of file class.ilSystemStyleSettings.php.
References $DIC.
|
static |
Gets a users preferred style by using the user object.
Definition at line 252 of file class.ilSystemStyleSettings.php.
References $DIC.
|
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.
Definition at line 108 of file class.ilSystemStyleSettings.php.
Referenced by ilSystemStylesTableGUI\fillRow(), and ilSysStyleCatAssignmentTableGUI\getStyleCatAssignments().
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.
Definition at line 85 of file class.ilSystemStyleSettings.php.
References $DIC.
Referenced by ilStyleDefinition\getCurrentStyle().
Here is the caller graph for this function:
|
static |
Definition at line 272 of file class.ilSystemStyleSettings.php.
|
static |
Sets the default style of the system.
Definition at line 262 of file class.ilSystemStyleSettings.php.
References $DIC.
Referenced by ilSystemStyleOverviewGUI\saveStyleSettings().
Here is the caller graph for this function:
|
static |
Sets a users preferred system skin/style by using the user object.
Definition at line 230 of file class.ilSystemStyleSettings.php.
References $DIC.
|
static |
Updates an assignment, e.g.
in case of ID Change through GUI.
Definition at line 198 of file class.ilSystemStyleSettings.php.
Referenced by ilSystemStyleSettingsGUI\save().
Here is the caller graph for this function:
|
static |
Updates an assignment, e.g.
in case of ID Change through GUI.
Definition at line 216 of file class.ilSystemStyleSettings.php.
Referenced by ilSystemStyleSettingsGUI\save().
Here is the caller graph for this function:
|
static |
Sets a substyle category assignment.
| ilSystemStyleException |
Definition at line 136 of file class.ilSystemStyleSettings.php.
Referenced by ilSubStyleAssignmentGUI\saveAssignment().
Here is the caller graph for this function: