Nextcloud PHP API (stable18)

IPublicCapability extends 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
inheritdoc
since
13.0.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