ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilResourceStorageInfoGUI Class Reference

Class ilResourceStorageInfoGUI. More...

+ Collaboration diagram for ilResourceStorageInfoGUI:

Public Member Functions

 append (ilInfoScreenGUI $info)
 

Protected Attributes

ResourceIdentification $identification = null
 
Services $storage
 
StorableResource $resource
 
ilLanguage $language
 
bool $is_storage = true
 

Detailed Description

Member Function Documentation

◆ append()

ilResourceStorageInfoGUI::append ( ilInfoScreenGUI  $info)

Definition at line 58 of file class.ilResourceStorageInfoGUI.php.

58 : void
59 {
60 if ($this->is_storage) {
61 $info->addSection($this->language->txt("storage_info"));
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()));
66 }
67 }
addProperty(string $a_name, string $a_value, string $a_link="")
add a property to current section
$info
Definition: entry_point.php:21

References $info, ilInfoScreenGUI\addProperty(), and ILIAS\UI\examples\Symbol\Glyph\Language\language().

+ Here is the call graph for this function:

Field Documentation

◆ $identification

ResourceIdentification ilResourceStorageInfoGUI::$identification = null
protected

Definition at line 29 of file class.ilResourceStorageInfoGUI.php.

◆ $is_storage

bool ilResourceStorageInfoGUI::$is_storage = true
protected

Definition at line 33 of file class.ilResourceStorageInfoGUI.php.

◆ $language

ilLanguage ilResourceStorageInfoGUI::$language
protected

Definition at line 32 of file class.ilResourceStorageInfoGUI.php.

◆ $resource

StorableResource ilResourceStorageInfoGUI::$resource
protected

Definition at line 31 of file class.ilResourceStorageInfoGUI.php.

◆ $storage

Services ilResourceStorageInfoGUI::$storage
protected

Definition at line 30 of file class.ilResourceStorageInfoGUI.php.


The documentation for this class was generated from the following file: