PHP 클래스 LdapTools\Ldif\Ldif

저자: Chad Sikorra ([email protected])
상속: use trait LdifStringBuilderTrait
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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