Nextcloud PHP API (stable18)

ILinkAction extends IAction

Apps should use the IActionFactory to create new action objects

Tags
since
12.0

Table of Contents

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

Methods

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

setHref()

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

the target URL of the action

Tags
since
12.0
Return values
mixed

setIcon()

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

absolute URI to an icon

Tags
since
12.0
Return values
mixed

setName()

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

localized action name, e.g. 'Call'

Tags
since
12.0
Return values
mixed

setPriority()

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

priorize actions, high order ones are shown on top

Tags
since
12.0
Return values
mixed

Search results