ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Listing.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
namespace
ILIAS\UI\Implementation\Component\Listing
;
22
23
use
ILIAS\UI\Component
as
C
;
24
use
ILIAS\UI\Implementation\Component\ComponentHelper
;
25
30
class
Listing
implements
C\Listing\Listing
31
{
32
use
ComponentHelper
;
33
34
private
array
$items
;
35
39
public
function
__construct
(array $items)
40
{
41
$types = array(
'string'
,
C
\Component::class);
42
$this->checkArgListElements(
"items"
, $items, $types);
43
$this->items =
$items
;
44
}
45
49
public
function
withItems
(array $items):
C
\
Listing
\
Listing
50
{
51
$types = array(
'string'
,
C
\Component::class);
52
$this->checkArgListElements(
"items"
, $items, $types);
53
54
$clone = clone $this;
55
$clone->items =
$items
;
56
return
$clone;
57
}
58
62
public
function
getItems
(): array
63
{
64
return
$this->items
;
65
}
66
}
ILIAS\UI\Implementation\Component\Listing\Listing\getItems
getItems()
Definition:
Listing.php:62
ILIAS\UI\Implementation\Component\Listing\Listing\withItems
withItems(array $items)
Definition:
Listing.php:49
ILIAS\UI\Implementation\Component\Listing\Listing\$items
array $items
Definition:
Listing.php:34
ILIAS\UI\Component
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\UI\Implementation\Component\Listing\Listing
Definition:
Listing.php:30
ILIAS\UI\Implementation\Component\Listing\Listing\__construct
__construct(array $items)
Listing constructor.
Definition:
Listing.php:39
ILIAS\UI\Implementation\Component\Listing
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ComponentHelper
ComponentHelper
src
UI
Implementation
Component
Listing
Listing.php
Generated on Tue Apr 1 2025 22:02:48 for ILIAS by
1.8.13 (using
Doxyfile
)