ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Repository\IRSS\CollectionWrapperGUI Class Reference
+ Collaboration diagram for ILIAS\Repository\IRSS\CollectionWrapperGUI:

Public Member Functions

 __construct ()
 
 getResourceCollectionGUI (ResourceStakeholder $stakeholder, string $rcid, string $caption, bool $write=false)
 

Protected Attributes

ILIAS ResourceStorage Services $irss
 

Detailed Description

Definition at line 27 of file CollectionWrapperGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Repository\IRSS\CollectionWrapperGUI::__construct ( )

Definition at line 31 of file CollectionWrapperGUI.php.

References $DIC.

32  {
33  global $DIC;
34  $this->irss = $DIC->resourceStorage();
35  }
global $DIC
Definition: shib_login.php:22

Member Function Documentation

◆ getResourceCollectionGUI()

ILIAS\Repository\IRSS\CollectionWrapperGUI::getResourceCollectionGUI ( ResourceStakeholder  $stakeholder,
string  $rcid,
string  $caption,
bool  $write = false 
)

Definition at line 37 of file CollectionWrapperGUI.php.

References ILIAS\components\ResourceStorage\Container\View\DATA_TABLE.

43  if ($rcid === "") {
44  throw new \LogicException("No resource collection ID given.");
45  }
46  $collection = $this->irss->collection()->get($this->irss->collection()->id($rcid));
47  return new \ilResourceCollectionGUI(
48  new Configuration(
49  $collection,
50  $stakeholder,
51  $caption,
53  100,
54  $write,
55  $write
56  )
57  );
58  }

Field Documentation

◆ $irss

ILIAS ResourceStorage Services ILIAS\Repository\IRSS\CollectionWrapperGUI::$irss
protected

Definition at line 29 of file CollectionWrapperGUI.php.


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