PHP 클래스 eZ\Publish\Core\FieldType\StorageGateway

This base class must be extended by storage gateways to be used with a {@link eZ\Publish\Core\FieldType\GatewayBasedStorage} based storage implementation. The {@link setConnection()} method is called by the GatewayBasedStorage to set the connection from the current persistence context.
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
setConnection ( mixed $connection ) Sets the data storage connection to use.

메소드 상세

setConnection() 추상적인 공개 메소드

Allows injection of the data storage connection to be used from external source. This can be a database connection resource or something else to define the storage, depending on the gateway implementation.
abstract public setConnection ( mixed $connection )
$connection mixed