ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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().
ilSkinStyleXML::getCssFile | ( | ) |
Definition at line 182 of file class.ilSkinStyleXML.php.
References $css_file.
Referenced by ilSkinXML\addChildToXML(), referencesResource(), and ilSystemStyleSkinContainer\updateStyle().
ilSkinStyleXML::getFontDirectory | ( | ) |
Definition at line 198 of file class.ilSkinStyleXML.php.
References $font_directory.
Referenced by ilSkinXML\addChildToXML(), ilSystemStyleSkinContainer\deleteStyle(), referencesResource(), and ilSystemStyleSkinContainer\updateStyle().
ilSkinStyleXML::getId | ( | ) |
Definition at line 114 of file class.ilSkinStyleXML.php.
References $id.
Referenced by __construct(), ilSkinXML\addChildToXML(), ilSystemStyleDeleteGUI\addStyle(), ilSystemStyleSkinContainer\addStyle(), ilSubStyleAssignmentGUI\assignStyle(), ilSystemStyleSkinContainer\copyCSSFromDefault(), ilSystemStyleSkinContainer\copyVariablesFromDefault(), ilSystemStyleSkinContainer\createLessStructure(), ilSystemStyleSkinContainer\createMainLessFile(), ilSubStyleAssignmentGUI\deleteAssignments(), ilSystemStyleSkinContainer\deleteStyle(), ilSystemStyleSkinContainer\getLessMainFileDefautContent(), and ilSubStyleAssignmentGUI\saveAssignment().
ilSkinStyleXML::getImageDirectory | ( | ) |
Definition at line 166 of file class.ilSkinStyleXML.php.
References $image_directory.
Referenced by ilSkinXML\addChildToXML(), ilSystemStyleSkinContainer\deleteStyle(), referencesResource(), ilSystemStyleSkinContainer\resetImages(), and ilSystemStyleSkinContainer\updateStyle().
ilSkinStyleXML::getName | ( | ) |
Definition at line 134 of file class.ilSkinStyleXML.php.
References $name.
Referenced by ilSkinXML\addChildToXML(), ilSystemStyleDeleteGUI\addStyle(), and ilSystemStyleSkinContainer\deleteStyle().
ilSkinStyleXML::getSoundDirectory | ( | ) |
Definition at line 150 of file class.ilSkinStyleXML.php.
References $sound_directory.
Referenced by ilSkinXML\addChildToXML(), ilSystemStyleSkinContainer\deleteStyle(), referencesResource(), and ilSystemStyleSkinContainer\updateStyle().
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(), ilSystemStyleSkinContainer\deleteStyle(), isSubstyle(), and ilSubStyleAssignmentGUI\saveAssignment().
ilSkinStyleXML::isSubstyle | ( | ) |
Return wheter this style is a substyle of another.
Definition at line 236 of file class.ilSkinStyleXML.php.
References getSubstyleOf().
Referenced by ilSkinXML\addChildToXML(), and ilSystemStyleSkinContainer\deleteStyle().
|
static |
SimpleXMLElement | $xml_element |
Definition at line 99 of file class.ilSkinStyleXML.php.
References $style, and string.
Referenced by ilSkinXML\__construct().
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().
ilSkinStyleXML::setCssFile | ( | $css_file | ) |
string | $css_file |
Definition at line 190 of file class.ilSkinStyleXML.php.
References $css_file.
Referenced by __construct().
ilSkinStyleXML::setFontDirectory | ( | $font_directory | ) |
string | $font_directory |
Definition at line 206 of file class.ilSkinStyleXML.php.
References $font_directory.
Referenced by __construct().
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().
ilSkinStyleXML::setImageDirectory | ( | $image_directory | ) |
string | $image_directory |
Definition at line 174 of file class.ilSkinStyleXML.php.
References $image_directory.
Referenced by __construct().
ilSkinStyleXML::setName | ( | $name | ) |
string | $name |
Definition at line 142 of file class.ilSkinStyleXML.php.
References $name.
Referenced by __construct().
ilSkinStyleXML::setSoundDirectory | ( | $sound_directory | ) |
string | $sound_directory |
Definition at line 158 of file class.ilSkinStyleXML.php.
References $sound_directory.
Referenced by __construct().
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().
|
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().