ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
addColor (ilSystemStyleIconColor $color) | |
getColors () | |
setColors (array $colors) | |
getColorById ($id="") | |
doesColorExist ($id) | |
mergeColorSet (ilSystemStyleIconColorSet $color_set) | |
Merges an other colorset into this one. More... | |
getColorsSortedAsArray () | |
Orders and sorts the colors to be displayed in GUI (form) More... | |
asArray () | |
Returns the ids of the colors of this color set as array. More... | |
asString () | |
Returns the ids of the colors of this color set as string. More... | |
Protected Attributes | |
$colors = [] | |
Definition at line 12 of file class.ilSystemStyleIconColorSet.php.
ilSystemStyleIconColorSet::addColor | ( | ilSystemStyleIconColor | $color | ) |
ilSystemStyleIconColor | $color |
Definition at line 24 of file class.ilSystemStyleIconColorSet.php.
References ilSystemStyleIconColor\getId().
Referenced by mergeColorSet().
ilSystemStyleIconColorSet::asArray | ( | ) |
Returns the ids of the colors of this color set as array.
Definition at line 99 of file class.ilSystemStyleIconColorSet.php.
References $colors, and getColors().
ilSystemStyleIconColorSet::asString | ( | ) |
Returns the ids of the colors of this color set as string.
Definition at line 112 of file class.ilSystemStyleIconColorSet.php.
References $colors, and getColors().
ilSystemStyleIconColorSet::doesColorExist | ( | $id | ) |
string | $id |
Definition at line 60 of file class.ilSystemStyleIconColorSet.php.
Referenced by mergeColorSet().
ilSystemStyleIconColorSet::getColorById | ( | $id = "" | ) |
string | $id |
ilSystemStyleException |
Definition at line 49 of file class.ilSystemStyleIconColorSet.php.
References ilSystemStyleException\INVALID_ID.
ilSystemStyleIconColorSet::getColors | ( | ) |
Definition at line 31 of file class.ilSystemStyleIconColorSet.php.
References $colors.
Referenced by asArray(), asString(), getColorsSortedAsArray(), and mergeColorSet().
ilSystemStyleIconColorSet::getColorsSortedAsArray | ( | ) |
Orders and sorts the colors to be displayed in GUI (form)
Definition at line 81 of file class.ilSystemStyleIconColorSet.php.
References $colors, array, and getColors().
ilSystemStyleIconColorSet::mergeColorSet | ( | ilSystemStyleIconColorSet | $color_set | ) |
Merges an other colorset into this one.
ilSystemStyleIconColorSet | $color_set |
Definition at line 69 of file class.ilSystemStyleIconColorSet.php.
References addColor(), doesColorExist(), and getColors().
ilSystemStyleIconColorSet::setColors | ( | array | $colors | ) |
ilSystemStyleIconColor[] | $colors |
Definition at line 39 of file class.ilSystemStyleIconColorSet.php.
References $colors.
|
protected |
Definition at line 19 of file class.ilSystemStyleIconColorSet.php.
Referenced by asArray(), asString(), getColors(), getColorsSortedAsArray(), and setColors().