PHP 클래스 Horde_Dav_Storage_Sql, horde

This is not for DAV content storage, but for metadata storage.
저자: Jan Schneider ([email protected])
상속: extends Horde_Dav_Storage_Base
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_db Horde_Db_Adapter Handle for the current database connection.

공개 메소드들

메소드 설명
__construct ( $params ) Constructor.
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.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( $params )

addCollectionMap() 공개 메소드

Adds a collection ID map to the backend storage.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.

프로퍼티 상세

$_db 보호되어 있는 프로퍼티

Handle for the current database connection.
protected Horde_Db_Adapter $_db
리턴 Horde_Db_Adapter