ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
addColor (ilSystemStyleIconColor $color) | |
getColors () | |
setColors (array $colors) | |
getColorById (string $id='') | |
doesColorExist (string $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 | |
array | $colors = [] |
Definition at line 24 of file class.ilSystemStyleIconColorSet.php.
ilSystemStyleIconColorSet::addColor | ( | ilSystemStyleIconColor | $color | ) |
Definition at line 34 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 104 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 116 of file class.ilSystemStyleIconColorSet.php.
References $colors, and getColors().
ilSystemStyleIconColorSet::doesColorExist | ( | string | $id | ) |
Definition at line 66 of file class.ilSystemStyleIconColorSet.php.
Referenced by mergeColorSet().
ilSystemStyleIconColorSet::getColorById | ( | string | $id = '' | ) |
ilSystemStyleException |
Definition at line 58 of file class.ilSystemStyleIconColorSet.php.
References $id, and ilSystemStyleException\INVALID_ID.
ilSystemStyleIconColorSet::getColors | ( | ) |
Definition at line 42 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 87 of file class.ilSystemStyleIconColorSet.php.
References getColors().
ilSystemStyleIconColorSet::mergeColorSet | ( | ilSystemStyleIconColorSet | $color_set | ) |
Merges an other colorset into this one.
Definition at line 74 of file class.ilSystemStyleIconColorSet.php.
References addColor(), doesColorExist(), and getColors().
ilSystemStyleIconColorSet::setColors | ( | array | $colors | ) |
ilSystemStyleIconColor[] | $colors |
Definition at line 50 of file class.ilSystemStyleIconColorSet.php.
References $colors.
|
protected |
Definition at line 31 of file class.ilSystemStyleIconColorSet.php.
Referenced by asArray(), asString(), getColors(), and setColors().