|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Abstracts an Icon and the necessary actions to get all colors out of an svg Icon. More...
Collaboration diagram for ilSystemStyleIcon:Public Member Functions | |
| __construct ($name, $path, $type) | |
| ilSystemStyleIcon constructor. More... | |
| changeColors (array $color_changes) | |
| Changes colors in the svg file of the icon and updates the icon abstraction by extracting the colors again. More... | |
| getType () | |
| setType ($type) | |
| getName () | |
| setName ($name) | |
| __toString () | |
| getPath () | |
| setPath ($path) | |
| getDirRelToCustomizing () | |
| Only get dir rel to the Customizing dir without name and extension from. More... | |
| getColorSet () | |
| setColorSet ($color_set) | |
| usesColor ($color_id) | |
Protected Member Functions | |
| extractColorSet () | |
| Extracts all colors from the icon by parsing the svg file for a regular expresion. More... | |
Protected Attributes | |
| $path = "" | |
| $name = "" | |
| $type = "" | |
| $color_set = null | |
Abstracts an Icon and the necessary actions to get all colors out of an svg Icon.
Definition at line 11 of file class.ilSystemStyleIcon.php.
| ilSystemStyleIcon::__construct | ( | $name, | |
| $path, | |||
| $type | |||
| ) |
ilSystemStyleIcon constructor.
| $name | |
| $path | |
| $type |
Definition at line 45 of file class.ilSystemStyleIcon.php.
References $name, $path, $type, setName(), setPath(), and setType().
Here is the call graph for this function:| ilSystemStyleIcon::__toString | ( | ) |
Definition at line 105 of file class.ilSystemStyleIcon.php.
References getName().
Here is the call graph for this function:| ilSystemStyleIcon::changeColors | ( | array | $color_changes | ) |
Changes colors in the svg file of the icon and updates the icon abstraction by extracting the colors again.
| array | $color_changes |
Definition at line 57 of file class.ilSystemStyleIcon.php.
References extractColorSet(), getPath(), and getType().
Here is the call graph for this function:
|
protected |
Extracts all colors from the icon by parsing the svg file for a regular expresion.
Definition at line 150 of file class.ilSystemStyleIcon.php.
References getColorSet(), getPath(), and getType().
Referenced by changeColors(), and getColorSet().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSystemStyleIcon::getColorSet | ( | ) |
Definition at line 139 of file class.ilSystemStyleIcon.php.
References $color_set, and extractColorSet().
Referenced by extractColorSet(), and usesColor().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSystemStyleIcon::getDirRelToCustomizing | ( | ) |
Only get dir rel to the Customizing dir without name and extension from.
Definition at line 131 of file class.ilSystemStyleIcon.php.
References getPath().
Here is the call graph for this function:| ilSystemStyleIcon::getName | ( | ) |
Definition at line 88 of file class.ilSystemStyleIcon.php.
References $name.
Referenced by __toString(), ilSystemStyleIconsGUI\getByIconValues(), and ilSystemStyleIconsGUI\renderIconPreview().
Here is the caller graph for this function:| ilSystemStyleIcon::getPath | ( | ) |
Definition at line 113 of file class.ilSystemStyleIcon.php.
References $path.
Referenced by changeColors(), extractColorSet(), getDirRelToCustomizing(), and ilSystemStyleIconsGUI\renderIconPreview().
Here is the caller graph for this function:| ilSystemStyleIcon::getType | ( | ) |
Definition at line 72 of file class.ilSystemStyleIcon.php.
References $type.
Referenced by changeColors(), extractColorSet(), and ilSystemStyleIconFolder\sortIcons().
Here is the caller graph for this function:| ilSystemStyleIcon::setColorSet | ( | $color_set | ) |
| ilSystemStyleIconColorSet | $color_set |
Definition at line 172 of file class.ilSystemStyleIcon.php.
References $color_set.
| ilSystemStyleIcon::setName | ( | $name | ) |
| string | $name |
Definition at line 96 of file class.ilSystemStyleIcon.php.
References $name.
Referenced by __construct().
Here is the caller graph for this function:| ilSystemStyleIcon::setPath | ( | $path | ) |
| string | $path |
Definition at line 121 of file class.ilSystemStyleIcon.php.
References $path.
Referenced by __construct().
Here is the caller graph for this function:| ilSystemStyleIcon::setType | ( | $type | ) |
| string | $type |
Definition at line 80 of file class.ilSystemStyleIcon.php.
References $type.
Referenced by __construct().
Here is the caller graph for this function:| ilSystemStyleIcon::usesColor | ( | $color_id | ) |
| $color_id |
Definition at line 181 of file class.ilSystemStyleIcon.php.
References getColorSet().
Here is the call graph for this function:
|
protected |
Definition at line 37 of file class.ilSystemStyleIcon.php.
Referenced by getColorSet(), and setColorSet().
|
protected |
Definition at line 24 of file class.ilSystemStyleIcon.php.
Referenced by __construct(), getName(), and setName().
|
protected |
Definition at line 18 of file class.ilSystemStyleIcon.php.
Referenced by __construct(), getPath(), and setPath().
|
protected |
Definition at line 30 of file class.ilSystemStyleIcon.php.
Referenced by __construct(), getType(), and setType().