ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.arIndexTableActions.php
Go to the documentation of this file.
1
<?
php
2
require_once(
'./Services/ActiveRecord/Views/Index/class.arIndexTableAction.php'
);
3
11
class
arIndexTableActions
12
{
13
17
protected
$actions
= array();
18
19
23
public
function
addAction
(
arIndexTableAction
$action
)
24
{
25
$this->actions[$action->
getId
()] =
$action
;
26
}
27
28
32
public
function
getActions
()
33
{
34
return
$this->actions
;
35
}
36
37
41
public
function
getActionsAsKeyTextArray
()
42
{
43
$actions
= array();
44
foreach
($this->
getActions
() as
$action
) {
48
$actions
[$action->getId()] = $action->getTitle();
49
}
50
51
return
$actions
;
52
}
53
54
60
public
function
getAction
($action_id)
61
{
62
if
(array_key_exists($action_id, $this->actions)) {
63
return
$this->actions[$action_id];
64
}
65
66
return
false
;
67
}
68
69
73
public
function
hasActions
()
74
{
75
return
!empty($this->actions);
76
}
77
}
arIndexTableAction\getId
getId()
Definition:
class.arIndexTableAction.php:100
arIndexTableActions
GUI-Class arIndexTableActions.
Definition:
class.arIndexTableActions.php:11
$action
$action
Definition:
consentAdmin.php:140
arIndexTableActions\getActions
getActions()
Definition:
class.arIndexTableActions.php:32
arIndexTableActions\$actions
$actions
Definition:
class.arIndexTableActions.php:17
arIndexTableActions\getActionsAsKeyTextArray
getActionsAsKeyTextArray()
Definition:
class.arIndexTableActions.php:41
arIndexTableActions\getAction
getAction($action_id)
Definition:
class.arIndexTableActions.php:60
arIndexTableActions\addAction
addAction(arIndexTableAction $action)
Definition:
class.arIndexTableActions.php:23
arIndexTableActions\hasActions
hasActions()
Definition:
class.arIndexTableActions.php:73
php
arIndexTableAction
GUI-Class arIndexTableAction.
Definition:
class.arIndexTableAction.php:10
Services
ActiveRecord
Views
Index
class.arIndexTableActions.php
Generated on Thu Jan 16 2025 19:02:15 for ILIAS by
1.8.13 (using
Doxyfile
)