PHP Класс LdapTools\Resolver\BatchValueResolver

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

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

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