PHP 클래스 LdapTools\Resolver\BatchValueResolver

저자: Chad Sikorra ([email protected])
상속: extends BaseValueResolver
파일 보기 프로젝트 열기: ldaptools/ldaptools

보호된 프로퍼티들

프로퍼티 타입 설명
$batches that contains all the batches to process.
$currentBatchIndex The current batch index number being processed.

공개 메소드들

메소드 설명
__construct ( LdapObjectSchema $schema, BatchCollection $batches, integer $type )
toLdap ( ) : BatchCollection Convert the batch values to LDAP batch mod specifications array.

보호된 메소드들

메소드 설명
batchCanConvert ( Batch $batch ) : boolean Determine if a specific batch is correctly formatted and needs conversion.
getBatchesForAttributes ( array $attributes ) : array Given an array of attribute names, get all of the batches they have with their respective indexes
getConverterWithOptions ( $converterName )
iterateAggregates ( array $toAggregate, $values, LdapTools\AttributeConverter\AttributeConverterInterface $converter )
validateBatchAggregate ( Batch $batch, LdapTools\AttributeConverter\AttributeConverterInterface $converter ) When aggregating a set of values they need to be modified with 'set'. The other methods ('reset', 'add', or 'remove') are not valid. Additionally, all batch modification array keys should be present. However, the converter can determine whether the batch operation is valid with the 'isBatchSupported()' method.

메소드 상세

__construct() 공개 메소드

public __construct ( LdapObjectSchema $schema, BatchCollection $batches, integer $type )
$schema LdapTools\Schema\LdapObjectSchema
$batches LdapTools\BatchModify\BatchCollection
$type integer The LDAP operation type. See AttributeConverterInterface::TYPE_*.

batchCanConvert() 보호된 메소드

Determine if a specific batch is correctly formatted and needs conversion.
protected batchCanConvert ( Batch $batch ) : boolean
$batch LdapTools\BatchModify\Batch
리턴 boolean

getBatchesForAttributes() 보호된 메소드

Given an array of attribute names, get all of the batches they have with their respective indexes
protected getBatchesForAttributes ( array $attributes ) : array
$attributes array
리턴 array

getConverterWithOptions() 보호된 메소드

protected getConverterWithOptions ( $converterName )

iterateAggregates() 보호된 메소드

protected iterateAggregates ( array $toAggregate, $values, LdapTools\AttributeConverter\AttributeConverterInterface $converter )
$toAggregate array
$converter LdapTools\AttributeConverter\AttributeConverterInterface

toLdap() 공개 메소드

Convert the batch values to LDAP batch mod specifications array.
public toLdap ( ) : BatchCollection
리턴 LdapTools\BatchModify\BatchCollection

validateBatchAggregate() 보호된 메소드

When aggregating a set of values they need to be modified with 'set'. The other methods ('reset', 'add', or 'remove') are not valid. Additionally, all batch modification array keys should be present. However, the converter can determine whether the batch operation is valid with the 'isBatchSupported()' method.
protected validateBatchAggregate ( Batch $batch, LdapTools\AttributeConverter\AttributeConverterInterface $converter )
$batch LdapTools\BatchModify\Batch
$converter LdapTools\AttributeConverter\AttributeConverterInterface

프로퍼티 상세

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

that contains all the batches to process.
protected $batches

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

The current batch index number being processed.
protected $currentBatchIndex