PHP 클래스 LdapTools\BatchModify\BatchCollection

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

보호된 프로퍼티들

프로퍼티 타입 설명
$batches Batch[]
$dn The distinguished name of the LDAP object these batches will target.

공개 메소드들

메소드 설명
__clone ( ) When a batch collection is cloned, we want to make sure the batch objects are cloned as well.
__construct ( string | null $dn = null )
add ( Batch $batch ) Add an individual batch action to the collection.
get ( integer $index ) : Batch Get a specific batch from the collection by its index number in the array.
getBatchArray ( ) : array Get an array that represents the array form of each batch action to be sent to LDAP.
getDn ( ) : string Get the distinguished name of the LDAP object this batch will target.
getIterator ( ) : ArrayIterator Allows this object to be iterated over.
has ( integer $index ) : boolean Check if a specific batch index exists.
remove ( integer $index ) : Batch Remove a specific batch from the collection by its index number in the array.
setDn ( string $dn ) Set the distinguished name of the LDAP object this batch will target.
toArray ( ) : Batch[] Get an array containing all the batch action objects.

보호된 메소드들

메소드 설명
validateBatchIndexExists ( integer $index ) Checks to make sure that the index actually exists.

메소드 상세

__clone() 공개 메소드

When a batch collection is cloned, we want to make sure the batch objects are cloned as well.
public __clone ( )

__construct() 공개 메소드

public __construct ( string | null $dn = null )
$dn string | null

add() 공개 메소드

Add an individual batch action to the collection.
public add ( Batch $batch )
$batch Batch

get() 공개 메소드

Get a specific batch from the collection by its index number in the array.
public get ( integer $index ) : Batch
$index integer
리턴 Batch

getBatchArray() 공개 메소드

Get an array that represents the array form of each batch action to be sent to LDAP.
public getBatchArray ( ) : array
리턴 array

getDn() 공개 메소드

Get the distinguished name of the LDAP object this batch will target.
public getDn ( ) : string
리턴 string

getIterator() 공개 메소드

Allows this object to be iterated over.

has() 공개 메소드

Check if a specific batch index exists.
public has ( integer $index ) : boolean
$index integer
리턴 boolean

remove() 공개 메소드

Remove a specific batch from the collection by its index number in the array.
public remove ( integer $index ) : Batch
$index integer
리턴 Batch

setDn() 공개 메소드

Set the distinguished name of the LDAP object this batch will target.
public setDn ( string $dn )
$dn string

toArray() 공개 메소드

Get an array containing all the batch action objects.
public toArray ( ) : Batch[]
리턴 Batch[]

validateBatchIndexExists() 보호된 메소드

Checks to make sure that the index actually exists.
protected validateBatchIndexExists ( integer $index )
$index integer

프로퍼티 상세

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

protected Batch[],LdapTools\BatchModify $batches
리턴 Batch[]

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

The distinguished name of the LDAP object these batches will target.
protected $dn