Nextcloud PHP API (master)

IRegistry

Tags
since
17.0.0

Table of Contents

Methods

delegateGetSupportedApps()  : array<string|int, mixed>
Fetches the list of app IDs that are supported by the subscription
delegateHasExtendedSupport()  : bool
Indicates if the subscription has extended support
delegateHasValidSubscription()  : bool
Indicates if a valid subscription is available
delegateIsHardUserLimitReached()  : bool
Indicates if a hard user limit is reached and no new users should be created
register()  : void
Register a subscription instance. In case it is called multiple times an exception is thrown
registerService()  : void
Register a subscription handler. The service has to implement the ISubscription interface.

Methods

delegateGetSupportedApps()

Fetches the list of app IDs that are supported by the subscription

public delegateGetSupportedApps() : array<string|int, mixed>
Tags
since
17.0.0
Return values
array<string|int, mixed>

delegateHasExtendedSupport()

Indicates if the subscription has extended support

public delegateHasExtendedSupport() : bool
Tags
since
17.0.0
Return values
bool

delegateHasValidSubscription()

Indicates if a valid subscription is available

public delegateHasValidSubscription() : bool
Tags
since
17.0.0
Return values
bool

delegateIsHardUserLimitReached()

Indicates if a hard user limit is reached and no new users should be created

public delegateIsHardUserLimitReached([IManager|null $notificationManager = null ]) : bool
Parameters
$notificationManager : IManager|null = null
Tags
since
21.0.0
Return values
bool

registerService()

Register a subscription handler. The service has to implement the ISubscription interface.

public registerService(string $subscriptionService) : void

In case this is called multiple times an exception is thrown.

Parameters
$subscriptionService : string
Tags
throws
AlreadyRegisteredException
since
20.0.0

        
On this page

Search results