PHP Интерфейс LdapTools\AttributeConverter\AttributeConverterInterface

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

Открытые методы

Метод Описание
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.
public getIsMultiValuedConverter ( ) : boolean
Результат boolean

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.
public getShouldAggregateValues ( ) : boolean
Результат boolean

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