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());
63 $info->addProperty($this->
language->txt(
"storage_id"), $this->resource->getStorageID());
64 $info->addProperty($this->
language->txt(
"max_revision"), $this->resource->getMaxRevision());
65 $info->addProperty($this->
language->txt(
"stakeholders"), count($this->resource->getStakeholders()));
Class ResourceIdentification.
addProperty(string $a_name, string $a_value, string $a_link="")
add a property to current section
Class ilResourceStorageInfoGUI.
StorableResource $resource
ResourceIdentification $identification
append(ilInfoScreenGUI $info)
Interface StorageResource.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc