$_db
$_db : \Horde_Db_Adapter
Handle for the current database connection.
Implements an SQL based storage backend.
This is not for DAV content storage, but for metadata storage.
addCollectionMap(string $internal, string $external, string $interface)
Adds a collection ID map to the backend storage.
string | $internal | An internal collection ID. |
string | $external | An external collection ID. |
string | $interface | The collection's application. |
getInternalObjectId(string $external, string $collection) : string
Returns an internal ID from a stored object ID map.
string | $external | An external object ID. |
string | $collection | The collection of an object. |
The object's internal ID or null.
getExternalObjectId(string $internal, string $collection) : string
Returns an external ID from a stored object ID map.
string | $internal | An internal object ID. |
string | $collection | The collection of an object. |
The object's external ID or null.
getInternalCollectionId(string $external, string $interface) : string
Returns an internal ID from a stored collection ID map.
string | $external | An external collection ID. |
string | $interface | The collection's application. |
The collection's internal ID or null.
getExternalCollectionId(string $internal, string $interface) : string
Returns an external ID from a stored collection ID map.
string | $internal | An internal collection ID. |
string | $interface | The collection's application. |
The collection's external ID.