PHP Interface LdapTools\AttributeConverter\AttributeConverterInterface

Author: Chad Sikorra ([email protected])
Afficher le fichier Open project: ldaptools/ldaptools Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

fromLdap() public méthode

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

getAttribute() public méthode

Get the name of the attribute being converted.
public getAttribute ( ) : string
Résultat string

getBatch() public méthode

Get the batch object.
public getBatch ( ) : Batch
Résultat LdapTools\BatchModify\Batch

getDn() public méthode

Get the DN of the object with the specific value being converted.
public getDn ( ) : string
Résultat string

getIsMultiValuedConverter() public méthode

Get whether this converter should the full array of attributes passed to it rather than one at a time.
public getIsMultiValuedConverter ( ) : boolean
Résultat boolean

getLastValue() public méthode

Get the last value as the result of the value conversion.
public getLastValue ( ) : mixed
Résultat mixed

getOperationType() public méthode

Get the LDAP operation type.
public getOperationType ( ) : integer
Résultat integer

getOptions() public méthode

Gets the options that may be recognized by the converter.
public getOptions ( ) : array
Résultat array

getShouldAggregateValues() public méthode

Get whether or not this converter should aggregate multiple attributes into one value.
public getShouldAggregateValues ( ) : boolean
Résultat boolean

isBatchSupported() public méthode

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

setAttribute() public méthode

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

setBatch() public méthode

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

setDn() public méthode

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

setIsMultiValuedConverter() public méthode

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() public méthode

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

setLdapConnection() public méthode

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

setOperationType() public méthode

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

setOptions() public méthode

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

setShouldAggregateValues() public méthode

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

toLdap() public méthode

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