PHP Class LdapTools\AttributeConverter\ConvertUserAccountControl

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

Public Methods

Method Description
__construct ( )
fromLdap ( $value )
getShouldAggregateValues ( )
isBatchSupported ( Batch $batch )
toLdap ( $value )

Protected Methods

Method 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 method

public __construct ( )

fromLdap() public method

public fromLdap ( $value )

getQueryOperator() protected method

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

getShouldAggregateValues() public method

isBatchSupported() public method

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

modifyUacValue() protected method

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
return integer

shouldInvertValue() protected method

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

toLdap() public method

public toLdap ( $value )