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