Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($id, $actionRequest, $title=null, $image=null, $toolTip=null) | |
getActionRequest () | |
getHoverTitle () | |
getId () | |
getImage () | |
getTitle () | |
getToolTip () | |
setTitle ($title) | |
Data Fields | |
$_actionRequest | |
$_id | |
$_image | |
$_title | |
$_toolTip | |
Base class defining an action that can be performed by the user in the user interface.
Definition at line 22 of file LinkAction.inc.php.
LinkAction::__construct | ( | $id, | |
$actionRequest, | |||
$title = null , |
|||
$image = null , |
|||
$toolTip = null |
|||
) |
Constructor
$id | string |
$actionRequest | LinkActionRequest The action to be taken when the link action is activated. |
$title | string (optional) The localized title of the action. |
$image | string (optional) The name of an icon for the action. |
$toolTip | string (optional) A localized tool tip to display when hovering over the link action. |
Reimplemented in FileLinkAction.
Definition at line 63 of file LinkAction.inc.php.
References HookRegistry\call().
LinkAction::getActionRequest | ( | ) |
Get the action handler.
Definition at line 89 of file LinkAction.inc.php.
References $_actionRequest.
LinkAction::getHoverTitle | ( | ) |
Get a title for display when a user hovers over the link action. Default to the regular title if it is set.
Definition at line 122 of file LinkAction.inc.php.
References getId(), and getToolTip().
LinkAction::getId | ( | ) |
Get the action id.
Definition at line 81 of file LinkAction.inc.php.
References $_id.
Referenced by getHoverTitle().
LinkAction::getImage | ( | ) |
Get the action image.
Definition at line 137 of file LinkAction.inc.php.
References $_image.
LinkAction::getTitle | ( | ) |
Get the localized action title.
Definition at line 97 of file LinkAction.inc.php.
References $_title.
LinkAction::getToolTip | ( | ) |
Get the localized tool tip.
Definition at line 113 of file LinkAction.inc.php.
References $_toolTip.
Referenced by getHoverTitle().
LinkAction::setTitle | ( | $title | ) |
LinkActionRequest LinkAction::$_actionRequest |
The action to be taken when the link action is activated
Definition at line 33 of file LinkAction.inc.php.
Referenced by getActionRequest().
string LinkAction::$_id |
string LinkAction::$_image |
The name of an icon for the action.
Definition at line 51 of file LinkAction.inc.php.
Referenced by getImage().
string LinkAction::$_title |
The localized title of the action.
Definition at line 39 of file LinkAction.inc.php.
Referenced by getTitle().
string LinkAction::$_toolTip |
The localized tool tip of the action.
Definition at line 45 of file LinkAction.inc.php.
Referenced by getToolTip().