Nextcloud PHP API (master)

IManager

Tags
since
14.0.0

Table of Contents

Methods

clear()  : void
removes all registered backend instances
getBackend()  : IBackend|null
getBackends()  : array<string|int, IBackend>
registerBackend()  : void
Registers a resource backend
unregisterBackend()  : void
Unregisters a resource backend
update()  : void
Update all resources from all backends right now.

Methods

clear()

removes all registered backend instances

public clear() : void
Tags
since
14.0.0

getBackend()

public getBackend(string $backendId) : IBackend|null
Parameters
$backendId : string
Tags
since
14.0.0
Return values
IBackend|null

getBackends()

public getBackends() : array<string|int, IBackend>
Tags
since
14.0.0
Return values
array<string|int, IBackend>

registerBackend()

Registers a resource backend

public registerBackend(string $backendClass) : void

use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerCalendarResourceBackend

Parameters
$backendClass : string
Tags
since
14.0.0

unregisterBackend()

Unregisters a resource backend

public unregisterBackend(string $backendClass) : void
Parameters
$backendClass : string
Tags
since
14.0.0

update()

Update all resources from all backends right now.

public update() : void
Tags
since
30.0.0

        
On this page

Search results