PHP Класс LdapTools\Ldif\Ldif

Автор: Chad Sikorra ([email protected])
Наследование: use trait LdifStringBuilderTrait
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$connection LdapTools\Connection\LdapConnectionInterface | null
$entries LdapTools\Ldif\Entry\LdifEntryInterface[]
$entryBuilder LdifEntryBuilder
$hydrator LdapTools\Hydrator\OperationHydrator
$schemaFactory LdapTools\Factory\LdapObjectSchemaFactory | null
$version The LDIF version for the entries.

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

Метод Описание
__construct ( LdapTools\Connection\LdapConnectionInterface $connection = null, LdapObjectSchemaFactory $schemaFactory = null )
addEntry ( variadic $entries ) Add one or more LDIF entry objects.
entry ( ) : LdifEntryBuilder Used for more fluid addition of entries to the LDIF object.
getEntries ( ) : LdapTools\Ldif\Entry\LdifEntryInterface[] Get the entries represented by this LDIF object.
getVersion ( ) : integer | null Get the LDIF version.
setVersion ( integer $version ) Set the LDIF version.
toOperations ( ) : LdapTools\Operation\LdapOperationInterface[] Get all of the operations represented by all of the entries for this LDIF object.
toString ( ) : string Get the string representation of the LDIF object with all of the entries it has.

Защищенные методы

Метод Описание
getSchemaForType ( string $type ) : LdapObjectSchema
setupEntry ( LdapTools\Ldif\Entry\LdifEntryInterface $entry )

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

__construct() публичный метод

public __construct ( LdapTools\Connection\LdapConnectionInterface $connection = null, LdapObjectSchemaFactory $schemaFactory = null )
$connection LdapTools\Connection\LdapConnectionInterface
$schemaFactory LdapTools\Factory\LdapObjectSchemaFactory

addEntry() публичный метод

Add one or more LDIF entry objects.
public addEntry ( variadic $entries )
$entries variadic

entry() публичный метод

Used for more fluid addition of entries to the LDIF object.
public entry ( ) : LdifEntryBuilder
Результат LdifEntryBuilder

getEntries() публичный метод

Get the entries represented by this LDIF object.
public getEntries ( ) : LdapTools\Ldif\Entry\LdifEntryInterface[]
Результат LdapTools\Ldif\Entry\LdifEntryInterface[]

getSchemaForType() защищенный метод

protected getSchemaForType ( string $type ) : LdapObjectSchema
$type string
Результат LdapTools\Schema\LdapObjectSchema

getVersion() публичный метод

Get the LDIF version.
public getVersion ( ) : integer | null
Результат integer | null

setVersion() публичный метод

Set the LDIF version.
public setVersion ( integer $version )
$version integer

setupEntry() защищенный метод

protected setupEntry ( LdapTools\Ldif\Entry\LdifEntryInterface $entry )
$entry LdapTools\Ldif\Entry\LdifEntryInterface

toOperations() публичный метод

Get all of the operations represented by all of the entries for this LDIF object.
public toOperations ( ) : LdapTools\Operation\LdapOperationInterface[]
Результат LdapTools\Operation\LdapOperationInterface[]

toString() публичный метод

Get the string representation of the LDIF object with all of the entries it has.
public toString ( ) : string
Результат string

Описание свойств

$connection защищенное свойство

protected LdapConnectionInterface,LdapTools\Connection|null $connection
Результат LdapTools\Connection\LdapConnectionInterface | null

$entries защищенное свойство

protected LdifEntryInterface[],LdapTools\Ldif\Entry $entries
Результат LdapTools\Ldif\Entry\LdifEntryInterface[]

$entryBuilder защищенное свойство

protected LdifEntryBuilder,LdapTools\Ldif $entryBuilder
Результат LdifEntryBuilder

$hydrator защищенное свойство

protected OperationHydrator,LdapTools\Hydrator $hydrator
Результат LdapTools\Hydrator\OperationHydrator

$schemaFactory защищенное свойство

protected LdapObjectSchemaFactory,LdapTools\Factory|null $schemaFactory
Результат LdapTools\Factory\LdapObjectSchemaFactory | null

$version защищенное свойство

The LDIF version for the entries.
protected $version