Property | Type | Description | |
---|---|---|---|
$batches | that contains all the batches to process. | ||
$currentBatchIndex | The current batch index number being processed. |
Method | Description | |
---|---|---|
__construct ( |
||
toLdap ( ) : |
Convert the batch values to LDAP batch mod specifications array. |
Method | Description | |
---|---|---|
batchCanConvert ( |
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 ( |
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. |
public __construct ( |
||
$schema | ||
$batches | ||
$type | integer | The LDAP operation type. See AttributeConverterInterface::TYPE_*. |
protected batchCanConvert ( |
||
$batch | ||
return | boolean |
protected getBatchesForAttributes ( array $attributes ) : array | ||
$attributes | array | |
return | array |
protected iterateAggregates ( array $toAggregate, $values, LdapTools\AttributeConverter\AttributeConverterInterface $converter ) | ||
$toAggregate | array | |
$converter | LdapTools\AttributeConverter\AttributeConverterInterface |
public toLdap ( ) : |
||
return |
protected validateBatchAggregate ( |
||
$batch | ||
$converter | LdapTools\AttributeConverter\AttributeConverterInterface |