|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Collaboration diagram for ilSkinStyleXML:Public Member Functions | |
| __construct ($id, $name, $css_file="", $image_directory="", $font_directory="", $sound_directory="", $parent_style="") | |
| ilSkinStyleXML constructor. More... | |
| getId () | |
| setId ($id) | |
| getName () | |
| setName ($name) | |
| getSoundDirectory () | |
| setSoundDirectory ($sound_directory) | |
| getImageDirectory () | |
| setImageDirectory ($image_directory) | |
| getCssFile () | |
| setCssFile ($css_file) | |
| getFontDirectory () | |
| setFontDirectory ($font_directory) | |
| getSubstyleOf () | |
| Returns the parent style of this style if set. More... | |
| setSubstyleOf ($substyle_of) | |
| Sets style as sub style of another. More... | |
| isSubstyle () | |
| Return wheter this style is a substyle of another. More... | |
| referencesResource ($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 | |
| $id = "" | |
| $name = "" | |
| $sound_directory = "" | |
| $image_directory = "" | |
| $font_directory = "" | |
| $css_file = "" | |
| $substyle_of = "" | |
Definition at line 7 of file class.ilSkinStyleXML.php.
| ilSkinStyleXML::__construct | ( | $id, | |
| $name, | |||
$css_file = "", |
|||
$image_directory = "", |
|||
$font_directory = "", |
|||
$sound_directory = "", |
|||
$parent_style = "" |
|||
| ) |
ilSkinStyleXML constructor.
| $id | ||
| $name | ||
| string | $css_file | |
| string | $image_directory | |
| string | $font_directory | |
| string | $sound_directory | |
| string | $parent_style |
Definition at line 67 of file class.ilSkinStyleXML.php.
References $css_file, $font_directory, $id, $image_directory, $name, $sound_directory, getId(), setCssFile(), setFontDirectory(), setId(), setImageDirectory(), setName(), setSoundDirectory(), and setSubstyleOf().
Here is the call graph for this function:| ilSkinStyleXML::getCssFile | ( | ) |
Definition at line 182 of file class.ilSkinStyleXML.php.
References $css_file.
Referenced by referencesResource(), and ilSystemStyleSkinContainer\updateStyle().
Here is the caller graph for this function:| ilSkinStyleXML::getFontDirectory | ( | ) |
Definition at line 198 of file class.ilSkinStyleXML.php.
References $font_directory.
Referenced by ilSystemStyleSkinContainer\deleteStyle(), referencesResource(), and ilSystemStyleSkinContainer\updateStyle().
Here is the caller graph for this function:| ilSkinStyleXML::getId | ( | ) |
Definition at line 114 of file class.ilSkinStyleXML.php.
References $id.
Referenced by __construct(), ilSystemStyleSkinContainer\addStyle(), ilSubStyleAssignmentGUI\assignStyle(), ilSystemStyleSkinContainer\copyCSSFromDefault(), ilSystemStyleSkinContainer\copyVariablesFromDefault(), ilSystemStyleSkinContainer\createLessStructure(), ilSystemStyleSkinContainer\createMainLessFile(), ilSubStyleAssignmentGUI\deleteAssignments(), ilSystemStyleSkinContainer\deleteStyle(), and ilSubStyleAssignmentGUI\saveAssignment().
Here is the caller graph for this function:| ilSkinStyleXML::getImageDirectory | ( | ) |
Definition at line 166 of file class.ilSkinStyleXML.php.
References $image_directory.
Referenced by ilSystemStyleSkinContainer\deleteStyle(), referencesResource(), ilSystemStyleSkinContainer\resetImages(), and ilSystemStyleSkinContainer\updateStyle().
Here is the caller graph for this function:| ilSkinStyleXML::getName | ( | ) |
| ilSkinStyleXML::getSoundDirectory | ( | ) |
Definition at line 150 of file class.ilSkinStyleXML.php.
References $sound_directory.
Referenced by ilSystemStyleSkinContainer\deleteStyle(), referencesResource(), and ilSystemStyleSkinContainer\updateStyle().
Here is the caller graph for this function:| ilSkinStyleXML::getSubstyleOf | ( | ) |
Returns the parent style of this style if set.
Definition at line 216 of file class.ilSkinStyleXML.php.
References $substyle_of.
Referenced by ilSubStyleAssignmentGUI\assignStyle(), ilSubStyleAssignmentGUI\deleteAssignments(), isSubstyle(), and ilSubStyleAssignmentGUI\saveAssignment().
Here is the caller graph for this function:| ilSkinStyleXML::isSubstyle | ( | ) |
Return wheter this style is a substyle of another.
Definition at line 236 of file class.ilSkinStyleXML.php.
References getSubstyleOf().
Here is the call graph for this function:
|
static |
| SimpleXMLElement | $xml_element |
Definition at line 99 of file class.ilSkinStyleXML.php.
References $style.
| ilSkinStyleXML::referencesResource | ( | $resource | ) |
Checks if a resource (folder) relative to the style is referenced by this style.
Used to decide if folder can be deleted.
| $resource |
Definition at line 246 of file class.ilSkinStyleXML.php.
References getCssFile(), getFontDirectory(), getImageDirectory(), and getSoundDirectory().
Here is the call graph for this function:| ilSkinStyleXML::setCssFile | ( | $css_file | ) |
| string | $css_file |
Definition at line 190 of file class.ilSkinStyleXML.php.
References $css_file.
Referenced by __construct().
Here is the caller graph for this function:| ilSkinStyleXML::setFontDirectory | ( | $font_directory | ) |
| string | $font_directory |
Definition at line 206 of file class.ilSkinStyleXML.php.
References $font_directory.
Referenced by __construct().
Here is the caller graph for this function:| ilSkinStyleXML::setId | ( | $id | ) |
| $id |
| ilSystemStyleException |
Definition at line 123 of file class.ilSkinStyleXML.php.
References $id, and ilSystemStyleException\INVALID_CHARACTERS_IN_ID.
Referenced by __construct().
Here is the caller graph for this function:| ilSkinStyleXML::setImageDirectory | ( | $image_directory | ) |
| string | $image_directory |
Definition at line 174 of file class.ilSkinStyleXML.php.
References $image_directory.
Referenced by __construct().
Here is the caller graph for this function:| ilSkinStyleXML::setName | ( | $name | ) |
| string | $name |
Definition at line 142 of file class.ilSkinStyleXML.php.
References $name.
Referenced by __construct().
Here is the caller graph for this function:| ilSkinStyleXML::setSoundDirectory | ( | $sound_directory | ) |
| string | $sound_directory |
Definition at line 158 of file class.ilSkinStyleXML.php.
References $sound_directory.
Referenced by __construct().
Here is the caller graph for this function:| ilSkinStyleXML::setSubstyleOf | ( | $substyle_of | ) |
Sets style as sub style of another.
| string | $substyle_of |
Definition at line 226 of file class.ilSkinStyleXML.php.
References $substyle_of.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 48 of file class.ilSkinStyleXML.php.
Referenced by __construct(), getCssFile(), and setCssFile().
|
protected |
Definition at line 41 of file class.ilSkinStyleXML.php.
Referenced by __construct(), getFontDirectory(), and setFontDirectory().
|
protected |
Definition at line 13 of file class.ilSkinStyleXML.php.
Referenced by __construct(), getId(), and setId().
|
protected |
Definition at line 34 of file class.ilSkinStyleXML.php.
Referenced by __construct(), getImageDirectory(), and setImageDirectory().
|
protected |
Definition at line 20 of file class.ilSkinStyleXML.php.
Referenced by __construct(), getName(), and setName().
|
protected |
Definition at line 27 of file class.ilSkinStyleXML.php.
Referenced by __construct(), getSoundDirectory(), and setSoundDirectory().
|
protected |
Definition at line 55 of file class.ilSkinStyleXML.php.
Referenced by getSubstyleOf(), and setSubstyleOf().