29 protected \ILIAS\ResourceStorage\Services
$storage;
30 protected \ILIAS\ResourceStorage\Resource\StorableResource
$resource;
41 $this->storage = $DIC->resourceStorage();
46 $this->is_storage =
false;
48 $this->is_storage =
true;
50 $this->resource = $this->storage->manage()->getResource($this->identification);
54 $this->
language->loadLanguageModule(
'irss');
59 if ($this->is_storage) {
61 $info->
addProperty($this->
language->txt(
"resource_id"), $this->identification->serialize());
63 $info->
addProperty($this->
language->txt(
"max_revision"), $this->resource->getMaxRevision());
64 $info->
addProperty($this->
language->txt(
"stakeholders"), count($this->resource->getStakeholders()));
append(ilInfoScreenGUI $info)
ILIAS ResourceStorage Resource StorableResource $resource
ResourceIdentification $identification
addProperty(string $a_name, string $a_value, string $a_link="")
add a property to current section
Class ilResourceStorageInfoGUI.
Class ResourceIdentification.
ILIAS ResourceStorage Services $storage
addSection(string $a_title)
__construct(Container $dic, ilPlugin $plugin)