Nextcloud PHP API (master)

IActionFactory

Tags
since
12.0

Table of Contents

Methods

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[, string $appId = '' ]) : ILinkAction
Parameters
$icon : string

full path to the action's icon

$name : string

localized name of the action

$email : string

target e-mail address

$appId : string = ''

the appName registering the action

Tags
since
12.0
Return values
ILinkAction

newLinkAction()

Construct and return a new link action for the contacts menu

public newLinkAction(string $icon, string $name, string $href[, string $appId = '' ]) : ILinkAction
Parameters
$icon : string

full path to the action's icon

$name : string

localized name of the action

$href : string

target URL

$appId : string = ''

the app ID registering the action

Tags
since
12.0
Return values
ILinkAction

        
On this page

Search results