Nextcloud PHP API (stable18)

IAction extends JsonSerializable

Apps should use the IActionFactory to create new action objects

Tags
since
12.0

Table of Contents

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

Methods

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

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