ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\ResourceStorage\Events\CollectionData Class Reference
+ Inheritance diagram for ILIAS\ResourceStorage\Events\CollectionData:
+ Collaboration diagram for ILIAS\ResourceStorage\Events\CollectionData:

Public Member Functions

 __construct (array $data=[])
 
 getRcid ()
 
 getRid ()
 

Detailed Description

Author
Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s

Definition at line 27 of file CollectionData.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\ResourceStorage\Events\CollectionData::__construct ( array  $data = [])

Definition at line 29 of file CollectionData.php.

References $data, and ILIAS\GlobalScreen\Provider\__construct().

30  {
31  // check fopr array to have two keys: rcid and rid
32  if (!array_key_exists('rcid', $data) || !array_key_exists('rid', $data)) {
33  throw new \InvalidArgumentException('CollectionData must contain rcid and rid');
34  }
35 
36  parent::__construct($data, \ArrayObject::ARRAY_AS_PROPS);
37  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ getRcid()

ILIAS\ResourceStorage\Events\CollectionData::getRcid ( )

Definition at line 39 of file CollectionData.php.

39  : string
40  {
41  return $this['rcid'];
42  }

◆ getRid()

ILIAS\ResourceStorage\Events\CollectionData::getRid ( )

Definition at line 44 of file CollectionData.php.

44  : string
45  {
46  return $this['rid'];
47  }

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