Horde_Dav_Storage_Base
in package
Base class for storage backends.
This is not for DAV content storage, but for metadata storage.
Tags
Table of Contents
- addCollectionMap() : mixed
- Adds a collection ID map to the backend storage.
- addObjectMap() : mixed
- Adds an object ID map to the backend storage.
- deleteExternalCollectionId() : mixed
- Deletes an ID map from the backend storage.
- deleteExternalObjectId() : mixed
- Deletes an ID map from the backend storage.
- deleteInternalCollectionId() : mixed
- Deletes an ID map from the backend storage.
- deleteInternalObjectId() : mixed
- Deletes an ID map from the backend storage.
- getCollectionInterface() : string
- Returns an interface name from a stored collection ID map.
- getExternalCollectionId() : string
- Returns an external ID from a stored collection ID map.
- getExternalObjectId() : string
- Returns an external ID from a stored object ID map.
- getInternalCollectionId() : string
- Returns an internal ID from a stored collection ID map.
- getInternalObjectId() : string
- Returns an internal ID from a stored object ID map.
Methods
addCollectionMap()
Adds a collection ID map to the backend storage.
public
abstract addCollectionMap(string $internal, string $external, string $interface) : mixed
Parameters
- $internal : string
-
An internal collection ID.
- $external : string
-
An external collection ID.
- $interface : string
-
The collection's application.
Tags
Return values
mixed —addObjectMap()
Adds an object ID map to the backend storage.
public
abstract addObjectMap(string $internal, string $external, string $collection) : mixed
Parameters
- $internal : string
-
An internal object ID.
- $external : string
-
An external object ID.
- $collection : string
-
The collection of an object.
Tags
Return values
mixed —deleteExternalCollectionId()
Deletes an ID map from the backend storage.
public
abstract deleteExternalCollectionId(string $external, string $interface) : mixed
Parameters
- $external : string
-
An external collection ID.
- $interface : string
-
The collection's application.
Tags
Return values
mixed —deleteExternalObjectId()
Deletes an ID map from the backend storage.
public
abstract deleteExternalObjectId(string $external, string $collection) : mixed
Parameters
- $external : string
-
An external object ID.
- $collection : string
-
The collection of an object.
Tags
Return values
mixed —deleteInternalCollectionId()
Deletes an ID map from the backend storage.
public
abstract deleteInternalCollectionId(string $internal, string $interface) : mixed
Parameters
- $internal : string
-
An internal collection ID.
- $interface : string
-
The collection's application.
Tags
Return values
mixed —deleteInternalObjectId()
Deletes an ID map from the backend storage.
public
abstract deleteInternalObjectId(string $internal, string $collection) : mixed
Parameters
- $internal : string
-
An internal object ID.
- $collection : string
-
The collection of an object.
Tags
Return values
mixed —getCollectionInterface()
Returns an interface name from a stored collection ID map.
public
abstract getCollectionInterface(string $external) : string
Parameters
- $external : string
-
An external collection ID.
Tags
Return values
string —The collection's application.
getExternalCollectionId()
Returns an external ID from a stored collection ID map.
public
abstract getExternalCollectionId(string $internal, string $interface) : string
Parameters
- $internal : string
-
An internal collection ID.
- $interface : string
-
The collection's application.
Tags
Return values
string —The collection's external ID.
getExternalObjectId()
Returns an external ID from a stored object ID map.
public
abstract getExternalObjectId(string $internal, string $collection) : string
Parameters
- $internal : string
-
An internal object ID.
- $collection : string
-
The collection of an object.
Tags
Return values
string —The object's external ID or null.
getInternalCollectionId()
Returns an internal ID from a stored collection ID map.
public
abstract getInternalCollectionId(string $external, string $interface) : string
Parameters
- $external : string
-
An external collection ID.
- $interface : string
-
The collection's application.
Tags
Return values
string —The collection's internal ID or null.
getInternalObjectId()
Returns an internal ID from a stored object ID map.
public
abstract getInternalObjectId(string $external, string $collection) : string
Parameters
- $external : string
-
An external object ID.
- $collection : string
-
The collection of an object.
Tags
Return values
string —The object's internal ID or null.