ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilResourceStorageInfoGUI Class Reference

Class ilResourceStorageInfoGUI. More...

+ Collaboration diagram for ilResourceStorageInfoGUI:

Public Member Functions

 append (ilInfoScreenGUI $info)
 

Protected Attributes

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

Detailed Description

Member Function Documentation

◆ append()

ilResourceStorageInfoGUI::append ( ilInfoScreenGUI  $info)

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

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

Referenced by ilObjBibliographicGUI\infoScreen().

57  : void
58  {
59  if ($this->is_storage) {
60  $info->addSection($this->language->txt("storage_info"));
61  $info->addProperty($this->language->txt("resource_id"), $this->identification->serialize());
62  $info->addProperty($this->language->txt("storage_id"), $this->resource->getStorageID());
63  $info->addProperty($this->language->txt("max_revision"), $this->resource->getMaxRevision());
64  $info->addProperty($this->language->txt("stakeholders"), count($this->resource->getStakeholders()));
65  }
66  }
addProperty(string $a_name, string $a_value, string $a_link="")
add a property to current section
addSection(string $a_title)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $identification

ResourceIdentification ilResourceStorageInfoGUI::$identification = null
protected

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

◆ $is_storage

bool ilResourceStorageInfoGUI::$is_storage = true
protected

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

◆ $language

ilLanguage ilResourceStorageInfoGUI::$language
protected

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

◆ $resource

ILIAS ResourceStorage Resource StorableResource ilResourceStorageInfoGUI::$resource
protected

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

◆ $storage

ILIAS ResourceStorage Services ilResourceStorageInfoGUI::$storage
protected

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


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