PHP 인터페이스 LdapTools\AttributeConverter\AttributeConverterInterface

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools 0 사용 예제들

공개 메소드들

메소드 설명
fromLdap ( $value ) : mixed Modify the value coming from LDAP so it's easier to work with.
getAttribute ( ) : string Get the name of the attribute being converted.
getBatch ( ) : Batch Get the batch object.
getDn ( ) : string Get the DN of the object with the specific value being converted.
getIsMultiValuedConverter ( ) : boolean Get whether this converter should the full array of attributes passed to it rather than one at a time.
getLastValue ( ) : mixed Get the last value as the result of the value conversion.
getOperationType ( ) : integer Get the LDAP operation type.
getOptions ( ) : array Gets the options that may be recognized by the converter.
getShouldAggregateValues ( ) : boolean Get whether or not this converter should aggregate multiple attributes into one value.
isBatchSupported ( Batch $batch ) : boolean Return whether this batch is a supported type for the converter.
setAttribute ( string $attribute ) Set the name of the attribute being converted.
setBatch ( Batch $batch ) Set the batch object.
setDn ( string $dn ) Set the DN of the object with the specific value being converted.
setIsMultiValuedConverter ( boolean $isMultiValuedConverter ) Set whether this converter should the full array of attributes passed to it rather than one at a time.
setLastValue ( mixed $value ) Set the last value in the case of an aggregate value.
setLdapConnection ( LdapTools\Connection\LdapConnectionInterface $connection ) Sets the current LDAP Connection for use by the converter.
setOperationType ( $type ) Set the LDAP operation type.
setOptions ( array $options ) Sets options that may be recognized by the converter.
setShouldAggregateValues ( boolean $aggregateValues ) Set whether or not this converter should aggregate multiple attributes into one value.
toLdap ( $value ) : mixed Modify the value so it can be understood by LDAP when it gets sent back.

메소드 상세

fromLdap() 공개 메소드

Modify the value coming from LDAP so it's easier to work with.
public fromLdap ( $value ) : mixed
$value
리턴 mixed

getAttribute() 공개 메소드

Get the name of the attribute being converted.
public getAttribute ( ) : string
리턴 string

getBatch() 공개 메소드

Get the batch object.
public getBatch ( ) : Batch
리턴 LdapTools\BatchModify\Batch

getDn() 공개 메소드

Get the DN of the object with the specific value being converted.
public getDn ( ) : string
리턴 string

getIsMultiValuedConverter() 공개 메소드

Get whether this converter should the full array of attributes passed to it rather than one at a time.

getLastValue() 공개 메소드

Get the last value as the result of the value conversion.
public getLastValue ( ) : mixed
리턴 mixed

getOperationType() 공개 메소드

Get the LDAP operation type.
public getOperationType ( ) : integer
리턴 integer

getOptions() 공개 메소드

Gets the options that may be recognized by the converter.
public getOptions ( ) : array
리턴 array

getShouldAggregateValues() 공개 메소드

Get whether or not this converter should aggregate multiple attributes into one value.

isBatchSupported() 공개 메소드

Return whether this batch is a supported type for the converter.
public isBatchSupported ( Batch $batch ) : boolean
$batch LdapTools\BatchModify\Batch
리턴 boolean

setAttribute() 공개 메소드

Set the name of the attribute being converted.
public setAttribute ( string $attribute )
$attribute string

setBatch() 공개 메소드

Set the batch object.
public setBatch ( Batch $batch )
$batch LdapTools\BatchModify\Batch

setDn() 공개 메소드

Set the DN of the object with the specific value being converted.
public setDn ( string $dn )
$dn string

setIsMultiValuedConverter() 공개 메소드

Set whether this converter should the full array of attributes passed to it rather than one at a time.
public setIsMultiValuedConverter ( boolean $isMultiValuedConverter )
$isMultiValuedConverter boolean

setLastValue() 공개 메소드

Set the last value in the case of an aggregate value.
public setLastValue ( mixed $value )
$value mixed

setLdapConnection() 공개 메소드

Sets the current LDAP Connection for use by the converter.
public setLdapConnection ( LdapTools\Connection\LdapConnectionInterface $connection )
$connection LdapTools\Connection\LdapConnectionInterface

setOperationType() 공개 메소드

Set the LDAP operation type.
public setOperationType ( $type )
$type

setOptions() 공개 메소드

Sets options that may be recognized by the converter.
public setOptions ( array $options )
$options array

setShouldAggregateValues() 공개 메소드

Set whether or not this converter should aggregate multiple attributes into one value.
public setShouldAggregateValues ( boolean $aggregateValues )
$aggregateValues boolean

toLdap() 공개 메소드

Modify the value so it can be understood by LDAP when it gets sent back.
public toLdap ( $value ) : mixed
$value
리턴 mixed