37 $this->icon = $this->factory->getByObjId($target_obj_id);
47 return $this->icon->exists();
55 return $this->icon->getFullPath();
65 return $target_obj_id;
An exception for terminatinating execution or to throw for unit testing.
static _lookupTargetId($a_obj_id)
lookup target id
Class ilObjectCustomIconFactory.
Class ilObjectCustomIconPresenter.
init()
Init \ilObjectCustomIconPresenter If the target is invalid the icon instance creation is based on the...
lookupTargetId()
Lookup target id of container reference.
__construct(int $obj_id, \ilObjectCustomIconFactory $factory)
ilObjectReferenceCustomIconPresenter constructor.
Interface ilObjectCustomIcon.