ILIAS
trunk Revision v11.0_alpha-1702-gfd3ecb7f852
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
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 Thu Apr 3 2025 23:04:05 for ILIAS by
1.8.13 (using
Doxyfile
)