ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
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... | |
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_name = '' |
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 | $sound_directory = '' |
Directory to store sound 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 63 of file class.ilSkinStyle.php.
References getId(), setCssFile(), setFontDirectory(), setId(), setImageDirectory(), setName(), setSoundDirectory(), and setSubstyleOf().
ilSkinStyle::getCssFile | ( | ) |
Definition at line 159 of file class.ilSkinStyle.php.
References $css_file.
Referenced by ilSkin\addChildToXML().
ilSkinStyle::getFontDirectory | ( | ) |
Definition at line 169 of file class.ilSkinStyle.php.
References $font_directory.
Referenced by ilSkin\addChildToXML().
ilSkinStyle::getId | ( | ) |
Definition at line 113 of file class.ilSkinStyle.php.
References $id.
Referenced by __construct(), ilSkin\addChildToXML(), ilSubStyleAssignmentGUI\assignStyle(), ilSubStyleAssignmentGUI\deleteAssignments(), ilSubStyleAssignmentGUI\saveAssignment(), ilSkinTest\testGetAllSubStyles(), and ilSkinTest\testUpdateParentOfStyle().
ilSkinStyle::getImageDirectory | ( | ) |
Definition at line 149 of file class.ilSkinStyle.php.
References $image_directory.
Referenced by ilSkin\addChildToXML().
ilSkinStyle::getName | ( | ) |
Definition at line 129 of file class.ilSkinStyle.php.
References $name.
Referenced by ilSkin\addChildToXML().
ilSkinStyle::getSoundDirectory | ( | ) |
Definition at line 139 of file class.ilSkinStyle.php.
References $sound_directory.
Referenced by ilSkin\addChildToXML().
ilSkinStyle::getSubstyleOf | ( | ) |
Returns the parent style of this style if set.
Definition at line 182 of file class.ilSkinStyle.php.
References $substyle_of.
Referenced by ilSubStyleAssignmentGUI\assignStyle(), ilSubStyleAssignmentGUI\deleteAssignments(), isSubstyle(), and ilSubStyleAssignmentGUI\saveAssignment().
ilSkinStyle::isSubstyle | ( | ) |
Return wheter this style is a substyle of another.
Definition at line 198 of file class.ilSkinStyle.php.
References getSubstyleOf().
Referenced by ilSkin\addChildToXML().
|
static |
ilSystemStyleException |
Definition at line 101 of file class.ilSkinStyle.php.
Referenced by ilSkinFactory\__construct().
ilSkinStyle::setCssFile | ( | string | $css_file | ) |
Definition at line 164 of file class.ilSkinStyle.php.
References $css_file.
Referenced by __construct().
ilSkinStyle::setFontDirectory | ( | string | $font_directory | ) |
Definition at line 174 of file class.ilSkinStyle.php.
References $font_directory.
Referenced by __construct().
ilSkinStyle::setId | ( | string | $id | ) |
ilSystemStyleException |
Definition at line 121 of file class.ilSkinStyle.php.
References ilSystemStyleException\INVALID_CHARACTERS_IN_ID.
Referenced by __construct().
ilSkinStyle::setImageDirectory | ( | string | $image_directory | ) |
Definition at line 154 of file class.ilSkinStyle.php.
References $image_directory.
Referenced by __construct().
ilSkinStyle::setName | ( | string | $name | ) |
Definition at line 134 of file class.ilSkinStyle.php.
References $name.
Referenced by __construct().
ilSkinStyle::setSoundDirectory | ( | string | $sound_directory | ) |
Definition at line 144 of file class.ilSkinStyle.php.
References $sound_directory.
Referenced by __construct().
ilSkinStyle::setSubstyleOf | ( | string | $substyle_of | ) |
Sets style as sub style of another.
Definition at line 190 of file class.ilSkinStyle.php.
References $substyle_of.
Referenced by __construct().
|
protected |
Css file name of the skin.
Definition at line 56 of file class.ilSkinStyle.php.
Referenced by getCssFile(), and setCssFile().
|
protected |
Directory to store fonts into.
Definition at line 46 of file class.ilSkinStyle.php.
Referenced by getFontDirectory(), and setFontDirectory().
|
protected |
Id of the skin.
Currently css and Scss files are named accordingely
Definition at line 26 of file class.ilSkinStyle.php.
Referenced by getId().
|
protected |
Directory to store image files into.
Definition at line 41 of file class.ilSkinStyle.php.
Referenced by 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 into.
Definition at line 51 of file class.ilSkinStyle.php.
Referenced by getSoundDirectory(), and setSoundDirectory().
|
protected |
Directory to store sound files into.
Definition at line 36 of file class.ilSkinStyle.php.
|
protected |
Parent of the skin if set.
Definition at line 61 of file class.ilSkinStyle.php.
Referenced by getSubstyleOf(), and setSubstyleOf().