PHP Класс Jackalope\Repository

Наследование: implements PHPCR\RepositoryInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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