PHP 클래스 Jackalope\Repository

상속: implements PHPCR\RepositoryInterface
파일 보기 프로젝트 열기: jackalope/jackalope 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$binaryStreamWrapperRegistered flag to call stream_wrapper_register only once
$descriptors array Cached array of repository descriptors. Each is either a string or an array of strings.
$factory jackalope\FactoryInterface The factory to instantiate objects
$jackalopeNotImplemented
$options array List of supported options
$transport Jackalope\Transport\TransportInterface The transport to use

공개 메소드들

메소드 설명
__construct ( jackalope\FactoryInterface $factory = null, Jackalope\Transport\TransportInterface $transport, array $options = null ) Create repository with the option to overwrite the factory and bound to a transport.
getDescriptor ( $key ) {@inheritDoc}
getDescriptorKeys ( ) {@inheritDoc}
isStandardDescriptor ( $key ) {@inheritDoc}
login ( PHPCR\CredentialsInterface $credentials = null, $workspaceName = null ) {@inheritDoc}

보호된 메소드들

메소드 설명
loadDescriptors ( ) : array Load the descriptors into $this->descriptors

메소드 상세

__construct() 공개 메소드

Use RepositoryFactoryDoctrineDBAL or RepositoryFactoryJackrabbit to instantiate this class.
public __construct ( jackalope\FactoryInterface $factory = null, Jackalope\Transport\TransportInterface $transport, array $options = null )
$factory jackalope\FactoryInterface the object factory to use. If this is null, the \Jackalope\Factory is instantiated. Note that the repository is the only class accepting null as factory.
$transport Jackalope\Transport\TransportInterface transport implementation
$options array defines optional features to enable/disable (see $options property)

getDescriptor() 공개 메소드

{@inheritDoc}
public getDescriptor ( $key )

getDescriptorKeys() 공개 메소드

{@inheritDoc}
public getDescriptorKeys ( )

isStandardDescriptor() 공개 메소드

{@inheritDoc}
public isStandardDescriptor ( $key )

loadDescriptors() 보호된 메소드

Most of them come from the transport to allow for non-feature complete transports.
protected loadDescriptors ( ) : array
리턴 array Hashmap of descriptor names to descriptor values

login() 공개 메소드

{@inheritDoc}
public login ( PHPCR\CredentialsInterface $credentials = null, $workspaceName = null )
$credentials PHPCR\CredentialsInterface

프로퍼티 상세

$binaryStreamWrapperRegistered 보호되어 있는 정적으로 프로퍼티

flag to call stream_wrapper_register only once
protected static $binaryStreamWrapperRegistered

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

Cached array of repository descriptors. Each is either a string or an array of strings.
protected array $descriptors
리턴 array

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

The factory to instantiate objects
protected FactoryInterface,jackalope $factory
리턴 jackalope\FactoryInterface

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

protected $jackalopeNotImplemented

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

List of supported options
protected array $options
리턴 array

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

The transport to use
protected TransportInterface,Jackalope\Transport $transport
리턴 Jackalope\Transport\TransportInterface