PHP Class LdapTools\Resolver\AttributeValueResolver

Author: Chad Sikorra ([email protected])
Inheritance: extends BaseValueResolver
Afficher le fichier Open project: ldaptools/ldaptools

Protected Properties

Свойство Type Description
$converted If the attribute was converted using an aggregate it will be placed here so it can be skipped.
$entry array The LDAP entry in [ 'attribute' => 'value' ] form.

Méthodes publiques

Méthode Description
__construct ( LdapObjectSchema $schema, array $entry, integer $type )
fromLdap ( ) : array Convert values from LDAP.
toLdap ( ) : array Convert values to LDAP.

Méthodes protégées

Méthode Description
convert ( array $attributes, boolean $toLdap = true ) : array Perform the attribute conversion process.
iterateAggregates ( array $toAggregate, $values, LdapTools\AttributeConverter\AttributeConverterInterface $converter )
removeValuesFromEntry ( array $entry, array $values ) : array Cleans up the entry/batch array by removing any values that are specified.

Method Details

__construct() public méthode

public __construct ( LdapObjectSchema $schema, array $entry, integer $type )
$schema LdapTools\Schema\LdapObjectSchema
$entry array The [ attribute => value ] entries.
$type integer The LDAP operation type. See AttributeConverterInterface::TYPE_*.

convert() protected méthode

Perform the attribute conversion process.
protected convert ( array $attributes, boolean $toLdap = true ) : array
$attributes array
$toLdap boolean
Résultat array

fromLdap() public méthode

Convert values from LDAP.
public fromLdap ( ) : array
Résultat array

iterateAggregates() protected méthode

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

removeValuesFromEntry() protected méthode

Cleans up the entry/batch array by removing any values that are specified.
protected removeValuesFromEntry ( array $entry, array $values ) : array
$entry array
$values array
Résultat array

toLdap() public méthode

Convert values to LDAP.
public toLdap ( ) : array
Résultat array

Property Details

$converted protected_oe property

If the attribute was converted using an aggregate it will be placed here so it can be skipped.
protected $converted

$entry protected_oe property

The LDAP entry in [ 'attribute' => 'value' ] form.
protected array $entry
Résultat array