Nextcloud PHP API (master)

IMenuAction

Interface IMenuAction

Tags
since
14.0

Table of Contents

Methods

getId()  : string
getLabel()  : string
The translated label of the menu item.
getLink()  : string
The link this menu item points to.
getPriority()  : int
render()  : string
Custom render function.

Methods

getId()

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

getLabel()

The translated label of the menu item.

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

The link this menu item points to.

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

getPriority()

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

render()

Custom render function.

public render() : string

The returned HTML will be wrapped within a listitem element (<li>...</li>).

Tags
since
14.0.0
Return values
string

        
On this page

Search results