Nextcloud PHP API (stable19)

ICapability

Minimal interface that has to be implemented for a class to be considered a capability.

In an application use: $this->getContainer()->registerCapability('OCA\MY_APP\Capabilities'); To register capabilities.

The class 'OCA\MY_APP\Capabilities' must then implement ICapability

Tags
since
8.2.0

Table of Contents

getCapabilities()  : array
Function an app uses to return the capabilities

Methods

getCapabilities()

Function an app uses to return the capabilities

public getCapabilities() : array
Tags
since
8.2.0
Return values
array

Array containing the apps capabilities

Search results