Methods

Constructor Function

Action() 

getActionName()

getActionName($action) : string

Parameters

$action

Returns

stringname of given action

getAreaForAction() Returns the area for the given action

getAreaForAction($action) : int

Parameters

$action

Returns

intInteger with the area ID for the given action

getAvailableActions() Returns all actions available in the system

getAvailableActions() : array

Returns

arrayArray with id and name entries