ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
Listing.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Panel\Listing
;
22
23
use
ILIAS\UI\Component
as
C
;
24
use ILIAS\UI\Implementation\Component\ComponentHelper;
25
use
ILIAS\UI\Component\Item\Group
;
26
31
abstract
class
Listing
implements
C\Panel\Listing\Listing
32
{
33
use ComponentHelper;
34
35
protected
string
$title
;
36
protected
?
C\Dropdown\Standard
$actions
=
null
;
37
41
protected
array
$item_groups
= array();
42
46
public
function
__construct
(
string
$title
, array
$item_groups
)
47
{
48
$this->title =
$title
;
49
$this->item_groups =
$item_groups
;
50
}
51
55
public
function
getTitle
(): string
56
{
57
return
$this->title
;
58
}
59
63
public
function
getItemGroups
(): array
64
{
65
return
$this->item_groups
;
66
}
67
71
public
function
withActions
(
C
\Dropdown\
Standard
$actions
):
C
\
Panel
\
Listing
\
Listing
72
{
73
$clone = clone $this;
74
$clone->actions =
$actions
;
75
return
$clone;
76
}
77
81
public
function
getActions
(): ?
C
\Dropdown\
Standard
82
{
83
return
$this->actions
;
84
}
85
}
C\Dropdown\Standard
ILIAS\UI\Implementation\Component\Panel\Listing\Listing
Definition:
Listing.php:32
ILIAS\UI\Implementation\Component\Panel\Listing\Listing\withActions
withActions(C\Dropdown\Standard $actions)
Definition:
Listing.php:71
ILIAS\UI\Implementation\Component\Panel\Listing\Listing\__construct
__construct(string $title, array $item_groups)
Definition:
Listing.php:46
ILIAS\UI\Implementation\Component\Panel\Listing\Listing\$actions
C Dropdown Standard $actions
Definition:
Listing.php:36
ILIAS\UI\Implementation\Component\Panel\Listing\Listing\getTitle
getTitle()
Definition:
Listing.php:55
ILIAS\UI\Implementation\Component\Panel\Listing\Listing\getItemGroups
getItemGroups()
Definition:
Listing.php:63
ILIAS\UI\Implementation\Component\Panel\Listing\Listing\$title
string $title
Definition:
Listing.php:35
ILIAS\UI\Implementation\Component\Panel\Listing\Listing\getActions
getActions()
Definition:
Listing.php:81
ILIAS\UI\Implementation\Component\Panel\Listing\Listing\$item_groups
array $item_groups
Definition:
Listing.php:41
ILIAS\UI\Implementation\Component\Panel\Listing\Standard
Definition:
Standard.php:31
ILIAS\UI\Implementation\Component\Panel\Panel
Definition:
Panel.php:32
ILIAS\ILIASObject\Creation\Group
@ Group
Definition:
AddNewItemElementTypes.php:26
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Panel\Listing
Definition:
Factory.php:21
components
ILIAS
UI
src
Implementation
Component
Panel
Listing
Listing.php
Generated on Sun Oct 19 2025 23:04:30 for ILIAS by
1.9.4 (using
Doxyfile
)