ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
arIndexTableActions Class Reference

GUI-Class arIndexTableActions. More...

+ Collaboration diagram for arIndexTableActions:

Public Member Functions

 addAction (arIndexTableAction $action)
 getActions ()
 getActionsAsKeyTextArray ()
 getAction ($action_id)
 hasActions ()

Protected Attributes

 $actions = array()

Detailed Description

Member Function Documentation

arIndexTableActions::addAction ( arIndexTableAction  $action)
Parameters
arIndexTableAction

Definition at line 22 of file class.arIndexTableActions.php.

References arIndexTableAction\getId().

{
$this->actions[$action->getId()] = $action;
}

+ Here is the call graph for this function:

arIndexTableActions::getAction (   $action_id)
Parameters
$action_id
Returns
arIndexTableAction

Definition at line 56 of file class.arIndexTableActions.php.

{
if (array_key_exists($action_id, $this->actions)) {
return $this->actions[$action_id];
}
return false;
}
arIndexTableActions::getActions ( )
Returns
arIndexTableAction[]

Definition at line 30 of file class.arIndexTableActions.php.

References $actions.

Referenced by getActionsAsKeyTextArray().

{
}

+ Here is the caller graph for this function:

arIndexTableActions::getActionsAsKeyTextArray ( )
Returns
array

arIndexTableAction $action

Definition at line 38 of file class.arIndexTableActions.php.

References $actions, and getActions().

{
$actions = array();
foreach ($this->getActions() as $action) {
$actions[$action->getId()] = $action->getTitle();
}
return $actions;
}

+ Here is the call graph for this function:

arIndexTableActions::hasActions ( )
Returns
bool

Definition at line 68 of file class.arIndexTableActions.php.

{
return !empty($this->actions);
}

Field Documentation

arIndexTableActions::$actions = array()
protected

Definition at line 16 of file class.arIndexTableActions.php.

Referenced by getActions(), and getActionsAsKeyTextArray().


The documentation for this class was generated from the following file: