PHP Class LdapTools\AttributeConverter\ConvertUserAccountControl

Author: Chad Sikorra ([email protected])
Inheritance: implements LdapTools\AttributeConverter\AttributeConverterInterface, use trait LdapTools\Utilities\ConverterUtilitiesTrait, use trait AttributeConverterTrait
Afficher le fichier Open project: ldaptools/ldaptools

Méthodes publiques

Méthode Description
__construct ( )
fromLdap ( $value )
getShouldAggregateValues ( )
isBatchSupported ( Batch $batch )
toLdap ( $value )

Méthodes protégées

Méthode Description
getQueryOperator ( boolean $value ) : BaseOperator Transform a bool value into the bitwise operator needed for the LDAP filter.
modifyUacValue ( boolean $value ) : integer Given a bool value, do the needed bitwise comparison against the User Account Control value to either remove or add the bit from the overall value.
shouldInvertValue ( ) : boolean Check if the attribute value/meaning should be inverted. Provided as a convenience (ie. enabled)

Method Details

__construct() public méthode

public __construct ( )

fromLdap() public méthode

public fromLdap ( $value )

getQueryOperator() protected méthode

Transform a bool value into the bitwise operator needed for the LDAP filter.
protected getQueryOperator ( boolean $value ) : BaseOperator
$value boolean
Résultat LdapTools\Query\Operator\BaseOperator

getShouldAggregateValues() public méthode

isBatchSupported() public méthode

public isBatchSupported ( Batch $batch )
$batch LdapTools\BatchModify\Batch

modifyUacValue() protected méthode

Given a bool value, do the needed bitwise comparison against the User Account Control value to either remove or add the bit from the overall value.
protected modifyUacValue ( boolean $value ) : integer
$value boolean
Résultat integer

shouldInvertValue() protected méthode

Check if the attribute value/meaning should be inverted. Provided as a convenience (ie. enabled)
protected shouldInvertValue ( ) : boolean
Résultat boolean

toLdap() public méthode

public toLdap ( $value )