IActionFactory
Tags
Table of Contents
- newEMailAction() : ILinkAction
- Construct and return a new email action for the contacts menu
- newLinkAction() : ILinkAction
- Construct and return a new link action for the contacts menu
Methods
newEMailAction()
Construct and return a new email action for the contacts menu
public
newEMailAction(string $icon, string $name, string $email) : ILinkAction
Parameters
- $icon : string
-
full path to the action's icon
- $name : string
-
localized name of the action
- $email : string
-
target e-mail address
Tags
Return values
ILinkAction —newLinkAction()
Construct and return a new link action for the contacts menu
public
newLinkAction(string $icon, string $name, string $href) : ILinkAction
Parameters
- $icon : string
-
full path to the action's icon
- $name : string
-
localized name of the action
- $href : string
-
target URL