|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Icon factory for didactic template custom icons. More...
Collaboration diagram for ilDidacticTemplateIconFactory:Public Member Functions | |
| __construct () | |
| getIconPathForReference (int $ref_id) | |
| getIconPathForObject (int $obj_id) | |
| Get icon path for object Not applicable to non container objects, use getIconPathForReference instead. More... | |
Static Public Member Functions | |
| static | getInstance () |
Protected Member Functions | |
| getIconPathForTemplate (int $template_id) | |
| findAssignedTemplate (int $ref_id) | |
| supportsCustomIcon (string $type) | |
Private Member Functions | |
| initTemplates () | |
Private Attributes | |
| ilObjectDefinition | $definition |
| ilDidacticTemplateSettings | $settings |
| array | $icon_types = [] |
| array | $assignments = [] |
Static Private Attributes | |
| static ilDidacticTemplateIconFactory | $instance = null |
Icon factory for didactic template custom icons.
Definition at line 34 of file class.ilDidacticTemplateIconFactory.php.
| ilDidacticTemplateIconFactory::__construct | ( | ) |
Definition at line 45 of file class.ilDidacticTemplateIconFactory.php.
References $DIC, and initTemplates().
Here is the call graph for this function:
|
protected |
Definition at line 90 of file class.ilDidacticTemplateIconFactory.php.
References $assignments, and $ref_id.
Referenced by getIconPathForReference().
Here is the caller graph for this function:| ilDidacticTemplateIconFactory::getIconPathForObject | ( | int | $obj_id | ) |
Get icon path for object Not applicable to non container objects, use getIconPathForReference instead.
| int | $obj_id |
Definition at line 107 of file class.ilDidacticTemplateIconFactory.php.
References $ref_id, ilObject\_getAllReferences(), ilObject\_lookupType(), and getIconPathForReference().
Here is the call graph for this function:| ilDidacticTemplateIconFactory::getIconPathForReference | ( | int | $ref_id | ) |
Definition at line 62 of file class.ilDidacticTemplateIconFactory.php.
References $path, $ref_id, ilObject\_lookupObjId(), ilObject\_lookupType(), findAssignedTemplate(), getIconPathForTemplate(), and supportsCustomIcon().
Referenced by getIconPathForObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 79 of file class.ilDidacticTemplateIconFactory.php.
References ILIAS\Repository\settings().
Referenced by getIconPathForReference().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 53 of file class.ilDidacticTemplateIconFactory.php.
References $instance.
|
private |
Definition at line 124 of file class.ilDidacticTemplateIconFactory.php.
References ilDidacticTemplateObjSettings\getAssignmentsForTemplates(), ilDidacticTemplateSettings\getInstance(), and ILIAS\Repository\settings().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 119 of file class.ilDidacticTemplateIconFactory.php.
Referenced by getIconPathForReference().
Here is the caller graph for this function:
|
private |
Definition at line 43 of file class.ilDidacticTemplateIconFactory.php.
Referenced by findAssignedTemplate().
|
private |
Definition at line 38 of file class.ilDidacticTemplateIconFactory.php.
|
private |
Definition at line 41 of file class.ilDidacticTemplateIconFactory.php.
|
staticprivate |
Definition at line 36 of file class.ilDidacticTemplateIconFactory.php.
Referenced by getInstance().
|
private |
Definition at line 39 of file class.ilDidacticTemplateIconFactory.php.