Nextcloud PHP API (master)

ILinkAction extends IAction

Apps should use the IActionFactory to create new action objects

Tags
since
12.0

Table of Contents

Methods

getAppId()  : string
getHref()  : string
getName()  : string
getPriority()  : int
setAppId()  : mixed
setHref()  : mixed
setIcon()  : mixed
setName()  : mixed
setPriority()  : mixed

Methods

getAppId()

public getAppId() : string
Tags
since
23.0.0
Return values
string

getHref()

public getHref() : string
Tags
since
12.0
Return values
string

getName()

public getName() : string
Tags
since
12.0
Return values
string

localized action name, e.g. 'Call'

getPriority()

public getPriority() : int
Tags
since
12.0
Return values
int

priority to priorize actions, high order ones are shown on top

setAppId()

public setAppId(string $appId) : mixed
Parameters
$appId : string
Tags
since
23.0.0

setHref()

public setHref(string $href) : mixed
Parameters
$href : string

the target URL of the action

Tags
since
12.0

setIcon()

public setIcon(string $icon) : mixed
Parameters
$icon : string

absolute URI to an icon

Tags
since
12.0

setName()

public setName(string $name) : mixed
Parameters
$name : string

localized action name, e.g. 'Call'

Tags
since
12.0

setPriority()

public setPriority(int $priority) : mixed
Parameters
$priority : int

priorize actions, high order ones are shown on top

Tags
since
12.0

        
On this page

Search results