ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
ILIAS\UI\Implementation\Component\Listing\Listing Class Reference
+ Inheritance diagram for ILIAS\UI\Implementation\Component\Listing\Listing:
+ Collaboration diagram for ILIAS\UI\Implementation\Component\Listing\Listing:

Public Member Functions

 __construct ($items)
 Listing constructor. More...
 
 withItems (array $items)
 
 getItems ()
 

Private Attributes

 $items
 

Detailed Description

Definition at line 14 of file Listing.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\UI\Implementation\Component\Listing\Listing::__construct (   $items)

Listing constructor.

Parameters
$items

Definition at line 27 of file Listing.php.

References ILIAS\UI\Implementation\Component\Listing\Listing\$items, and array.

27  {
28  $types = array('string',C\Component::class);
29  $this->checkArgListElements("items", $items, $types);
30  $this->items = $items;
31  }
Create styles array
The data for the language used.

Member Function Documentation

◆ getItems()

ILIAS\UI\Implementation\Component\Listing\Listing::getItems ( )

◆ withItems()

ILIAS\UI\Implementation\Component\Listing\Listing::withItems ( array  $items)

Definition at line 36 of file Listing.php.

References ILIAS\UI\Implementation\Component\Listing\Listing\$items, and array.

36  {
37  $types = array('string',C\Component::class);
38  $this->checkArgListElements("items", $items, $types);
39 
40  $clone = clone $this;
41  $clone->items = $items;
42  return $clone;
43  }
Create styles array
The data for the language used.

Field Documentation

◆ $items


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