IAction extends JsonSerializable
Apps should use the IActionFactory to create new action objects
Tags
Table of Contents
- getName() : string
- getPriority() : int
- setIcon() : mixed
- setName() : mixed
- setPriority() : mixed
Methods
getName()
public
getName() : string
Tags
Return values
string —localized action name, e.g. 'Call'
getPriority()
public
getPriority() : int
Tags
Return values
int —priority to priorize actions, high order ones are shown on top
setIcon()
public
setIcon(string $icon) : mixed
Parameters
- $icon : string
-
absolute URI to an icon
Tags
Return values
mixed —setName()
public
setName(string $name) : mixed
Parameters
- $name : string
-
localized action name, e.g. 'Call'
Tags
Return values
mixed —setPriority()
public
setPriority(int $priority) : mixed
Parameters
- $priority : int
-
priorize actions, high order ones are shown on top