19declare(strict_types=1);
40 protected DataFactory $data_factory
66 if (!$this->
access->canAccessLinkToObject($ref_id)) {
70 return $this->static_url->builder()->build($type,
$ref_id);
76 $path_gui->enableTextOnly(
true);
82 if (!$this->obj_definition->isPlugin($type)) {
83 return $this->
lng->txt(
'obj_' . $type);
The scope of this class is split ilias-conform URI's into components.
buildIconPath(int $obj_id, string $type)
lookupDescription(int $obj_id)
buildRepositoryPath(int $ref_id)
makeTypePresentable(string $type)
buildLink(int $ref_id, string $type)
__construct(protected AccessChecker $access, protected ilObjectDefinition $obj_definition, protected ilLanguage $lng, protected StaticURL $static_url, protected DataFactory $data_factory)
lookupCreationDate(int $obj_id)
parses the objects.xml it handles the xml-description of all ilias objects
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static lookupTxtById(string $plugin_id, string $lang_var)
Class ilObject Basic functions for all objects.
static _lookupType(int $id, bool $reference=false)
static _getIcon(int $obj_id=0, string $size="big", string $type="", bool $offline=false)
Get icon for repository item.
static _lookupCreationDate(int $obj_id)
static _lookupTitle(int $obj_id)
static _lookupDescription(int $obj_id)