42 $this->storage = $DIC->resourceStorage();
47 $this->is_storage =
false;
49 $this->is_storage =
true;
51 $this->resource = $this->storage->manage()->getResource($this->identification);
55 $this->
language->loadLanguageModule(
'irss');
60 if ($this->is_storage) {
62 $info->
addProperty($this->
language->txt(
"resource_id"), $this->identification->serialize());
64 $info->
addProperty($this->
language->txt(
"max_revision"), $this->resource->getMaxRevision());
65 $info->
addProperty($this->
language->txt(
"stakeholders"), count($this->resource->getStakeholders()));
append(ilInfoScreenGUI $info)
Interface StorageResource.
ResourceIdentification $identification
addProperty(string $a_name, string $a_value, string $a_link="")
add a property to current section
Class ilResourceStorageInfoGUI.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ResourceIdentification.
addSection(string $a_title)
__construct(Container $dic, ilPlugin $plugin)
language()
description: > Example for rendring a language glyph.
StorableResource $resource