Nextcloud PHP API (master)

SimpleMenuAction
in package
implements IMenuAction

Class SimpleMenuAction

Tags
since
14.0.0

Table of Contents

Interfaces

IMenuAction
Interface IMenuAction

Properties

$detail  : string
$icon  : string
$id  : string
$label  : string
$link  : string
$priority  : int

Methods

__construct()  : mixed
SimpleMenuAction constructor.
getIcon()  : string
getId()  : string
getLabel()  : string
getLink()  : string
getPriority()  : int
render()  : string

Properties

Methods

__construct()

SimpleMenuAction constructor.

public __construct(string $id, string $label, string $icon[, string $link = '' ][, int $priority = 100 ][, string $detail = '' ]) : mixed
Parameters
$id : string
$label : string
$icon : string
$link : string = ''
$priority : int = 100
$detail : string = ''
Tags
since
14.0.0

getIcon()

public getIcon() : string
Tags
since
14.0.0
Return values
string

getLabel()

public getLabel() : string
Tags
since
14.0.0
Return values
string
public getLink() : string
Tags
since
14.0.0
Return values
string

getPriority()

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

render()

public render() : string
Tags
since
14.0.0
Return values
string

        
On this page

Search results