|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilSkinStyle:Public Member Functions | |
| __construct (string $id, string $name, string $css_file='', string $image_directory='', string $font_directory='', string $sound_directory='', string $parent_style='') | |
| getId () | |
| setId (string $id) | |
| getName () | |
| setName (string $name) | |
| getSoundDirectory () | |
| setSoundDirectory (string $sound_directory) | |
| getImageDirectory () | |
| setImageDirectory (string $image_directory) | |
| getCssFile () | |
| setCssFile (string $css_file) | |
| getFontDirectory () | |
| setFontDirectory (string $font_directory) | |
| getSubstyleOf () | |
| Returns the parent style of this style if set. More... | |
| setSubstyleOf (string $substyle_of) | |
| Sets style as sub style of another. More... | |
| isSubstyle () | |
| Return wheter this style is a substyle of another. More... | |
| referencesResource (string $resource) | |
| Checks if a resource (folder) relative to the style is referenced by this style. More... | |
Static Public Member Functions | |
| static | parseFromXMLElement (SimpleXMLElement $xml_element) |
Protected Attributes | |
| string | $id = '' |
| Id of the skin. More... | |
| string | $name = '' |
| Name of the style visible in all UI elements. More... | |
| string | $sound_directory = '' |
| Directory to store sound files into. More... | |
| string | $image_directory = '' |
| Directory to store image files into. More... | |
| string | $font_directory = '' |
| Directory to store fonts into. More... | |
| string | $css_file = '' |
| Css file name of the skin. More... | |
| string | $substyle_of = '' |
| Parent of the skin if set. More... | |
Definition at line 21 of file class.ilSkinStyle.php.
| ilSkinStyle::__construct | ( | string | $id, |
| string | $name, | ||
| string | $css_file = '', |
||
| string | $image_directory = '', |
||
| string | $font_directory = '', |
||
| string | $sound_directory = '', |
||
| string | $parent_style = '' |
||
| ) |
Definition at line 58 of file class.ilSkinStyle.php.
References $css_file, $font_directory, $image_directory, $sound_directory, getId(), setCssFile(), setFontDirectory(), setId(), setImageDirectory(), setName(), setSoundDirectory(), and setSubstyleOf().
Here is the call graph for this function:| ilSkinStyle::getCssFile | ( | ) |
Definition at line 154 of file class.ilSkinStyle.php.
References $css_file.
Referenced by ilSkin\addChildToXML(), referencesResource(), and ilSkinStyleContainer\updateStyle().
Here is the caller graph for this function:| ilSkinStyle::getFontDirectory | ( | ) |
Definition at line 164 of file class.ilSkinStyle.php.
References $font_directory.
Referenced by ilSkin\addChildToXML(), ilSkinStyleContainer\deleteStyle(), referencesResource(), and ilSkinStyleContainer\updateStyle().
Here is the caller graph for this function:| ilSkinStyle::getId | ( | ) |
Definition at line 108 of file class.ilSkinStyle.php.
References $id.
Referenced by __construct(), ilSkin\addChildToXML(), ilSystemStyleDeleteGUI\addStyle(), ilSkinStyleContainer\addStyle(), ilSubStyleAssignmentGUI\assignStyle(), ilSkinStyleContainer\copyCSSFromDefault(), ilSkinStyleContainer\copyVariablesFromDefault(), ilSkinStyleContainer\createLessStructure(), ilSkinStyleContainer\createMainLessFile(), ilSubStyleAssignmentGUI\deleteAssignments(), ilSkinStyleContainer\deleteStyle(), ilSkinStyleContainer\getLessMainFileDefautContent(), ilSkinStyleContainer\resetImages(), and ilSubStyleAssignmentGUI\saveAssignment().
Here is the caller graph for this function:| ilSkinStyle::getImageDirectory | ( | ) |
Definition at line 144 of file class.ilSkinStyle.php.
References $image_directory.
Referenced by ilSkin\addChildToXML(), ilSkinStyleContainer\deleteStyle(), referencesResource(), ilSkinStyleContainer\resetImages(), and ilSkinStyleContainer\updateStyle().
Here is the caller graph for this function:| ilSkinStyle::getName | ( | ) |
Definition at line 124 of file class.ilSkinStyle.php.
References $name.
Referenced by ilSkin\addChildToXML(), ilSystemStyleDeleteGUI\addStyle(), and ilSkinStyleContainer\deleteStyle().
Here is the caller graph for this function:| ilSkinStyle::getSoundDirectory | ( | ) |
Definition at line 134 of file class.ilSkinStyle.php.
References $sound_directory.
Referenced by ilSkin\addChildToXML(), ilSkinStyleContainer\deleteStyle(), referencesResource(), and ilSkinStyleContainer\updateStyle().
Here is the caller graph for this function:| ilSkinStyle::getSubstyleOf | ( | ) |
Returns the parent style of this style if set.
Definition at line 177 of file class.ilSkinStyle.php.
References $substyle_of.
Referenced by ilSubStyleAssignmentGUI\assignStyle(), ilSubStyleAssignmentGUI\deleteAssignments(), ilSkinStyleContainer\deleteStyle(), isSubstyle(), and ilSubStyleAssignmentGUI\saveAssignment().
Here is the caller graph for this function:| ilSkinStyle::isSubstyle | ( | ) |
Return wheter this style is a substyle of another.
Definition at line 193 of file class.ilSkinStyle.php.
References getSubstyleOf().
Referenced by ilSkin\addChildToXML(), and ilSkinStyleContainer\deleteStyle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| ilSystemStyleException |
Definition at line 96 of file class.ilSkinStyle.php.
| ilSkinStyle::referencesResource | ( | string | $resource | ) |
Checks if a resource (folder) relative to the style is referenced by this style.
Used to decide if folder can be deleted.
Definition at line 201 of file class.ilSkinStyle.php.
References getCssFile(), getFontDirectory(), getImageDirectory(), and getSoundDirectory().
Here is the call graph for this function:| ilSkinStyle::setCssFile | ( | string | $css_file | ) |
Definition at line 159 of file class.ilSkinStyle.php.
References $css_file.
Referenced by __construct().
Here is the caller graph for this function:| ilSkinStyle::setFontDirectory | ( | string | $font_directory | ) |
Definition at line 169 of file class.ilSkinStyle.php.
References $font_directory.
Referenced by __construct().
Here is the caller graph for this function:| ilSkinStyle::setId | ( | string | $id | ) |
| ilSystemStyleException |
Definition at line 116 of file class.ilSkinStyle.php.
References $id, and ilSystemStyleException\INVALID_CHARACTERS_IN_ID.
Referenced by __construct().
Here is the caller graph for this function:| ilSkinStyle::setImageDirectory | ( | string | $image_directory | ) |
Definition at line 149 of file class.ilSkinStyle.php.
References $image_directory.
Referenced by __construct().
Here is the caller graph for this function:| ilSkinStyle::setName | ( | string | $name | ) |
Definition at line 129 of file class.ilSkinStyle.php.
References $name.
Referenced by __construct().
Here is the caller graph for this function:| ilSkinStyle::setSoundDirectory | ( | string | $sound_directory | ) |
Definition at line 139 of file class.ilSkinStyle.php.
References $sound_directory.
Referenced by __construct().
Here is the caller graph for this function:| ilSkinStyle::setSubstyleOf | ( | string | $substyle_of | ) |
Sets style as sub style of another.
Definition at line 185 of file class.ilSkinStyle.php.
References $substyle_of.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Css file name of the skin.
Definition at line 51 of file class.ilSkinStyle.php.
Referenced by __construct(), getCssFile(), and setCssFile().
|
protected |
Directory to store fonts into.
Definition at line 46 of file class.ilSkinStyle.php.
Referenced by __construct(), getFontDirectory(), and setFontDirectory().
|
protected |
Id of the skin.
Currently css and less files are named accordingely
Definition at line 26 of file class.ilSkinStyle.php.
|
protected |
Directory to store image files into.
Definition at line 41 of file class.ilSkinStyle.php.
Referenced by __construct(), getImageDirectory(), and setImageDirectory().
|
protected |
Name of the style visible in all UI elements.
Definition at line 31 of file class.ilSkinStyle.php.
|
protected |
Directory to store sound files into.
Definition at line 36 of file class.ilSkinStyle.php.
Referenced by __construct(), getSoundDirectory(), and setSoundDirectory().
|
protected |
Parent of the skin if set.
Definition at line 56 of file class.ilSkinStyle.php.
Referenced by getSubstyleOf(), and setSubstyleOf().