Manager

class OC\Calendar\Resource\Manager
Source:lib/private/Calendar/Resource/Manager.php#31
Implements:OCP\Calendar\Resource\IManager

Properties

Methods

public OC\Calendar\Resource\Manager::__construct($server)
Manager constructor.
Source:

lib/private/Calendar/Resource/Manager.php#47

Parameters:
public OC\Calendar\Resource\Manager::registerBackend($backendClass)
Registers a resource backend
Source:

lib/private/Calendar/Resource/Manager.php#58

Parameters:
  • $backendClass (string)
Returns:

void

Since:

14.0.0

public OC\Calendar\Resource\Manager::unregisterBackend($backendClass)
Unregisters a resource backend
Source:

lib/private/Calendar/Resource/Manager.php#69

Parameters:
  • $backendClass (string)
Returns:

void

Since:

14.0.0

public OC\Calendar\Resource\Manager::getBackends()
Source:lib/private/Calendar/Resource/Manager.php#78
Returns:\OCP\Calendar\Resource\IBackend[]
Throws:\OCP\AppFramework\QueryException
Since:14.0.0
public OC\Calendar\Resource\Manager::getBackend($backendId)
Source:

lib/private/Calendar/Resource/Manager.php#95

Parameters:
  • $backendId (string)
Throws:

\OCP\AppFramework\QueryException

Returns:

\OCP\Calendar\Resource\IBackend | null

public OC\Calendar\Resource\Manager::clear()
removes all registered backend instances
Source:lib/private/Calendar/Resource/Manager.php#111
Returns:void
Since:14.0.0