ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Icon factory for didactic template custom icons. More...
Public Member Functions | |
__construct () | |
ilDidacticTemplateIconFactory constructor. More... | |
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 | |
$definition | |
$settings | |
$icon_types = [] | |
$assignments = [] | |
$logger | |
Static Private Attributes | |
static | $instance = null |
Icon factory for didactic template custom icons.
Definition at line 21 of file class.ilDidacticTemplateIconFactory.php.
ilDidacticTemplateIconFactory::__construct | ( | ) |
ilDidacticTemplateIconFactory constructor.
Definition at line 50 of file class.ilDidacticTemplateIconFactory.php.
References $DIC, and initTemplates().
|
protected |
int | $ref_id |
Definition at line 106 of file class.ilDidacticTemplateIconFactory.php.
References $assignments.
Referenced by getIconPathForReference().
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 122 of file class.ilDidacticTemplateIconFactory.php.
References ilObject\_getAllReferences(), ilObject\_lookupType(), and getIconPathForReference().
ilDidacticTemplateIconFactory::getIconPathForReference | ( | int | $ref_id | ) |
int | $ref_id |
Definition at line 73 of file class.ilDidacticTemplateIconFactory.php.
References $type, ilObject\_lookupObjId(), ilObject\_lookupType(), findAssignedTemplate(), getIconPathForTemplate(), and supportsCustomIcon().
Referenced by getIconPathForObject().
|
protected |
int | $template_id |
Definition at line 93 of file class.ilDidacticTemplateIconFactory.php.
References settings().
Referenced by getIconPathForReference().
|
static |
Definition at line 62 of file class.ilDidacticTemplateIconFactory.php.
Referenced by ilObject\cloneMetaData().
|
private |
Definition at line 142 of file class.ilDidacticTemplateIconFactory.php.
References $tpl, ilDidacticTemplateObjSettings\getAssignmentsForTemplates(), ilDidacticTemplateSettings\getInstance(), and settings().
Referenced by __construct().
|
protected |
string | $type |
Definition at line 137 of file class.ilDidacticTemplateIconFactory.php.
Referenced by getIconPathForReference().
|
private |
Definition at line 43 of file class.ilDidacticTemplateIconFactory.php.
Referenced by findAssignedTemplate().
|
private |
Definition at line 28 of file class.ilDidacticTemplateIconFactory.php.
|
private |
Definition at line 38 of file class.ilDidacticTemplateIconFactory.php.
|
staticprivate |
Definition at line 23 of file class.ilDidacticTemplateIconFactory.php.
|
private |
Definition at line 45 of file class.ilDidacticTemplateIconFactory.php.
|
private |
Definition at line 33 of file class.ilDidacticTemplateIconFactory.php.