IBackend

interface OCP\Calendar\Resource\IBackend
Interface IBackend
Source:lib/public/Calendar/Resource/IBackend.php#34

Methods

public OCP\Calendar\Resource\IBackend::getAllResources()
get a list of all resources in this backend
Source:lib/public/Calendar/Resource/IBackend.php#43
Throws:\OCP\Calendar\BackendTemporarilyUnavailableException
Returns:\OCP\Calendar\Resource\IResource[]
Since:14.0.0
public OCP\Calendar\Resource\IBackend::listAllResources()
get a list of all resource identifiers in this backend
Source:lib/public/Calendar/Resource/IBackend.php#52
Throws:\OCP\Calendar\BackendTemporarilyUnavailableException
Returns:string[]
Since:14.0.0
public OCP\Calendar\Resource\IBackend::getResource($id)
get a resource by it’s id
Source:

lib/public/Calendar/Resource/IBackend.php#62

Parameters:
  • $id (string)
Throws:

\OCP\Calendar\BackendTemporarilyUnavailableException

Returns:

\OCP\Calendar\Resource\IResource | null

Since:

14.0.0

public OCP\Calendar\Resource\IBackend::getBackendIdentifier()
Get unique identifier of the backend
Source:lib/public/Calendar/Resource/IBackend.php#70
Returns:string
Since:14.0.0