Nextcloud PHP API (stable18)

IFilter

Interface IFilter

Tags
since
11.0.0

Table of Contents

allowedApps()  : string[]
filterTypes()  : string[]
getIcon()  : string
getIdentifier()  : string
getName()  : string
getPriority()  : int

Methods

allowedApps()

public allowedApps() : string[]
Tags
since
11.0.0
Return values
string[]

An array of allowed apps from which activities should be displayed

filterTypes()

public filterTypes(string[] $types) : string[]
Parameters
$types : string[]
Tags
since
11.0.0
Return values
string[]

An array of allowed apps from which activities should be displayed

getIcon()

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

Full URL to an icon, empty string when none is given

getIdentifier()

public getIdentifier() : string
Tags
since
11.0.0
Return values
string

Lowercase a-z and underscore only identifier

getName()

public getName() : string
Tags
since
11.0.0
Return values
string

A translated string

getPriority()

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

whether the filter should be rather on the top or bottom of the admin section. The filters are arranged in ascending order of the priority values. It is required to return a value between 0 and 100.

Search results