Nextcloud PHP API (master)

IAction extends JsonSerializable

Apps should use the IActionFactory to create new action objects

Tags
since
12.0

Table of Contents

Methods

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

Methods

getAppId()

public getAppId() : string
Tags
since
23.0.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

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