ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
RowBuilder.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Table
;
22
23
use
ILIAS\UI\Component\Table
as
T
;
24
use
ILIAS\UI\Component\Table\Column\Column
;
25
use
ILIAS\UI\Component\Table\Action\Action
;
26
27
abstract
class
RowBuilder
28
{
29
protected
bool
$table_has_multiactions
=
false
;
30
34
protected
array
$row_actions
= [];
35
39
protected
array
$columns
= [];
40
41
//abstract function buildRow(string $id, array $record);
42
43
public
function
withMultiActionsPresent
(
bool
$flag): self
44
{
45
$clone = clone $this;
46
$clone->table_has_multiactions = $flag;
47
return
$clone;
48
}
49
53
public
function
withSingleActions
(array $row_actions): self
54
{
55
$clone = clone $this;
56
$clone->row_actions =
$row_actions
;
57
return
$clone;
58
}
62
public
function
withVisibleColumns
(array $columns): self
63
{
64
$clone = clone $this;
65
$clone->columns =
$columns
;
66
return
$clone;
67
}
68
}
Column
ILIAS\UI\Implementation\Component\Table\RowBuilder\withSingleActions
withSingleActions(array $row_actions)
Definition:
RowBuilder.php:53
ILIAS\UI\Implementation\Component\Table\RowBuilder\withVisibleColumns
withVisibleColumns(array $columns)
Definition:
RowBuilder.php:62
ILIAS\UI\Implementation\Component\Table
Definition:
AbstractTable.php:21
ILIAS\UI\Implementation\Component\Table\RowBuilder\$row_actions
array $row_actions
Definition:
RowBuilder.php:34
ILIAS\UI\Implementation\Component\Table\RowBuilder\$table_has_multiactions
bool $table_has_multiactions
Definition:
RowBuilder.php:29
ILIAS\UI\Implementation\Component\Table\RowBuilder\$columns
array $columns
Definition:
RowBuilder.php:39
ILIAS\UI\Implementation\Component\Table\RowBuilder
Definition:
RowBuilder.php:27
ILIAS\UI\Component\Table
ILIAS\UI\Implementation\Component\Table\RowBuilder\withMultiActionsPresent
withMultiActionsPresent(bool $flag)
Definition:
RowBuilder.php:43
ILIAS\MetaData\Elements\Markers\Action
Action
Definition:
Action.php:23
components
ILIAS
UI
src
Implementation
Component
Table
RowBuilder.php
Generated on Sun Aug 31 2025 23:04:11 for ILIAS by
1.8.13 (using
Doxyfile
)