PHP 클래스 LdapTools\Resolver\AttributeValueResolver

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

보호된 프로퍼티들

프로퍼티 타입 설명
$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.

공개 메소드들

메소드 설명
__construct ( LdapObjectSchema $schema, array $entry, integer $type )
fromLdap ( ) : array Convert values from LDAP.
toLdap ( ) : array Convert values to LDAP.

보호된 메소드들

메소드 설명
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.

메소드 상세

__construct() 공개 메소드

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() 보호된 메소드

Perform the attribute conversion process.
protected convert ( array $attributes, boolean $toLdap = true ) : array
$attributes array
$toLdap boolean
리턴 array

fromLdap() 공개 메소드

Convert values from LDAP.
public fromLdap ( ) : array
리턴 array

iterateAggregates() 보호된 메소드

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

removeValuesFromEntry() 보호된 메소드

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

toLdap() 공개 메소드

Convert values to LDAP.
public toLdap ( ) : array
리턴 array

프로퍼티 상세

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

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

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

The LDAP entry in [ 'attribute' => 'value' ] form.
protected array $entry
리턴 array