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()));
 
Customizing of pimple-DIC for ILIAS.
 
Class ResourceIdentification.
 
addSection(string $a_title)
 
addProperty(string $a_name, string $a_value, string $a_link="")
add a property to current section
 
Class ilResourceStorageInfoGUI.
 
ResourceIdentification $identification
 
append(ilInfoScreenGUI $info)
 
ILIAS ResourceStorage Resource StorableResource $resource
 
ILIAS ResourceStorage Services $storage
 
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc