ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 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 118 of file class.ilSystemStyleIconColorSet.php.
References $colors, and getColors().
ilSystemStyleIconColorSet::doesColorExist | ( | $id | ) |
string | $id |
Definition at line 62 of file class.ilSystemStyleIconColorSet.php.
References $id.
Referenced by mergeColorSet().
ilSystemStyleIconColorSet::getColorById | ( | $id = "" | ) |
string | $id |
ilSystemStyleException |
Definition at line 50 of file class.ilSystemStyleIconColorSet.php.
References $id, and ilSystemStyleException\INVALID_ID.
ilSystemStyleIconColorSet::getColors | ( | ) |
Definition at line 32 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 85 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 72 of file class.ilSystemStyleIconColorSet.php.
References addColor(), doesColorExist(), and getColors().
ilSystemStyleIconColorSet::setColors | ( | array | $colors | ) |
ilSystemStyleIconColor[] | $colors |
Definition at line 40 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().