ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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.

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

Referenced by ilObjBibliographicGUI\infoScreen().

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
addSection(string $a_title)
language()
description: > Example for rendring a language glyph.
Definition: language.php:41
+ 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 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: