ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ 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
16
protected
$actions
=
array
();
17
18
22
public
function
addAction
(
arIndexTableAction
$action) {
23
$this->actions[$action->
getId
()] = $action;
24
}
25
26
30
public
function
getActions
() {
31
return
$this->actions
;
32
}
33
34
38
public
function
getActionsAsKeyTextArray
() {
39
$actions
=
array
();
40
foreach
($this->
getActions
() as $action) {
44
$actions
[$action->getId()] = $action->getTitle();
45
}
46
47
return
$actions
;
48
}
49
50
56
public
function
getAction
($action_id) {
57
if
(array_key_exists($action_id, $this->actions)) {
58
return
$this->actions[$action_id];
59
}
60
61
return
false
;
62
}
63
64
68
public
function
hasActions
() {
69
return
!empty($this->actions);
70
}
71
}
arIndexTableAction\getId
getId()
Definition:
class.arIndexTableAction.php:93
arIndexTableActions
GUI-Class arIndexTableActions.
Definition:
class.arIndexTableActions.php:11
arIndexTableActions\getActions
getActions()
Definition:
class.arIndexTableActions.php:30
arIndexTableActions\$actions
$actions
Definition:
class.arIndexTableActions.php:16
arIndexTableActions\getActionsAsKeyTextArray
getActionsAsKeyTextArray()
Definition:
class.arIndexTableActions.php:38
arIndexTableActions\getAction
getAction($action_id)
Definition:
class.arIndexTableActions.php:56
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
arIndexTableActions\addAction
addAction(arIndexTableAction $action)
Definition:
class.arIndexTableActions.php:22
arIndexTableActions\hasActions
hasActions()
Definition:
class.arIndexTableActions.php:68
php
arIndexTableAction
GUI-Class arIndexTableAction.
Definition:
class.arIndexTableAction.php:10
Services
ActiveRecord
Views
Index
class.arIndexTableActions.php
Generated on Fri Jan 17 2025 19:01:07 for ILIAS by
1.8.13 (using
Doxyfile
)