PHP Класс Horde_Dav_Storage_Base, horde

This is not for DAV content storage, but for metadata storage.
Автор: Jan Schneider ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
addCollectionMap ( string $internal, string $external, string $interface ) Adds a collection ID map to the backend storage.
addObjectMap ( string $internal, string $external, string $collection ) Adds an object ID map to the backend storage.
deleteExternalCollectionId ( string $external, string $interface ) Deletes an ID map from the backend storage.
deleteExternalObjectId ( string $external, string $collection ) Deletes an ID map from the backend storage.
deleteInternalCollectionId ( string $internal, string $interface ) Deletes an ID map from the backend storage.
deleteInternalObjectId ( string $internal, string $collection ) Deletes an ID map from the backend storage.
getCollectionInterface ( string $external ) : string Returns an interface name from a stored collection ID map.
getExternalCollectionId ( string $internal, string $interface ) : string Returns an external ID from a stored collection ID map.
getExternalObjectId ( string $internal, string $collection ) : string Returns an external ID from a stored object ID map.
getInternalCollectionId ( string $external, string $interface ) : string Returns an internal ID from a stored collection ID map.
getInternalObjectId ( string $external, string $collection ) : string Returns an internal ID from a stored object ID map.

Описание методов

addCollectionMap() абстрактный публичный Метод

Adds a collection ID map to the backend storage.
abstract public addCollectionMap ( string $internal, string $external, string $interface )
$internal string An internal collection ID.
$external string An external collection ID.
$interface string The collection's application.

addObjectMap() абстрактный публичный Метод

Adds an object ID map to the backend storage.
abstract public addObjectMap ( string $internal, string $external, string $collection )
$internal string An internal object ID.
$external string An external object ID.
$collection string The collection of an object.

deleteExternalCollectionId() абстрактный публичный Метод

Deletes an ID map from the backend storage.
abstract public deleteExternalCollectionId ( string $external, string $interface )
$external string An external collection ID.
$interface string The collection's application.

deleteExternalObjectId() абстрактный публичный Метод

Deletes an ID map from the backend storage.
abstract public deleteExternalObjectId ( string $external, string $collection )
$external string An external object ID.
$collection string The collection of an object.

deleteInternalCollectionId() абстрактный публичный Метод

Deletes an ID map from the backend storage.
abstract public deleteInternalCollectionId ( string $internal, string $interface )
$internal string An internal collection ID.
$interface string The collection's application.

deleteInternalObjectId() абстрактный публичный Метод

Deletes an ID map from the backend storage.
abstract public deleteInternalObjectId ( string $internal, string $collection )
$internal string An internal object ID.
$collection string The collection of an object.

getCollectionInterface() абстрактный публичный Метод

Returns an interface name from a stored collection ID map.
abstract public getCollectionInterface ( string $external ) : string
$external string An external collection ID.
Результат string The collection's application.

getExternalCollectionId() абстрактный публичный Метод

Returns an external ID from a stored collection ID map.
abstract public getExternalCollectionId ( string $internal, string $interface ) : string
$internal string An internal collection ID.
$interface string The collection's application.
Результат string The collection's external ID.

getExternalObjectId() абстрактный публичный Метод

Returns an external ID from a stored object ID map.
abstract public getExternalObjectId ( string $internal, string $collection ) : string
$internal string An internal object ID.
$collection string The collection of an object.
Результат string The object's external ID or null.

getInternalCollectionId() абстрактный публичный Метод

Returns an internal ID from a stored collection ID map.
abstract public getInternalCollectionId ( string $external, string $interface ) : string
$external string An external collection ID.
$interface string The collection's application.
Результат string The collection's internal ID or null.

getInternalObjectId() абстрактный публичный Метод

Returns an internal ID from a stored object ID map.
abstract public getInternalObjectId ( string $external, string $collection ) : string
$external string An external object ID.
$collection string The collection of an object.
Результат string The object's internal ID or null.