102 (
string) $xml_element->attributes()[
"id"],
103 (
string) $xml_element->attributes()[
"name"],
104 (
string) $xml_element->attributes()[
"css_file"],
105 (
string) $xml_element->attributes()[
"image_directory"],
106 (
string) $xml_element->attributes()[
"font_directory"],
107 (
string) $xml_element->attributes()[
"sound_directory"]
126 if (strpos(
$id,
' ') !==
false) {
129 $this->
id = str_replace(
" ",
"_",
$id);
setSubstyleOf($substyle_of)
Sets style as sub style of another.
getSubstyleOf()
Returns the parent style of this style if set.
static parseFromXMLElement(SimpleXMLElement $xml_element)
setSoundDirectory($sound_directory)
isSubstyle()
Return wheter this style is a substyle of another.
const INVALID_CHARACTERS_IN_ID
setFontDirectory($font_directory)
referencesResource($resource)
Checks if a resource (folder) relative to the style is referenced by this style.
setImageDirectory($image_directory)
Class for advanced editing exception handling in ILIAS.
__construct($id, $name, $css_file="", $image_directory="", $font_directory="", $sound_directory="", $parent_style="")
ilSkinStyleXML constructor.