PHP Класс LdapTools\AttributeConverter\ConvertGroupType

См. также: https://msdn.microsoft.com/en-us/library/cc223142.aspx
Автор: Chad Sikorra ([email protected])
Наследование: implements LdapTools\AttributeConverter\AttributeConverterInterface, use trait LdapTools\Utilities\ConverterUtilitiesTrait, use trait AttributeConverterTrait
Показать файл Открыть проект

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

Метод Описание
__construct ( )
fromLdap ( $value )
getShouldAggregateValues ( )
isBatchSupported ( Batch $batch )
toLdap ( $value )

Защищенные методы

Метод Описание
getBitForAttribute ( string $attribute ) : integer
getQueryOperator ( boolean $value ) : BaseOperator Transform a bool value into the bitwise operator needed for the LDAP filter.
modifyBitmaskValue ( integer $value, boolean $toggle, string $attribute ) : integer Modify the existing value based on the attributes bit.
modifyGroupScopeBit ( integer $lastValue, boolean $value ) Based on the current value, remove the bit for the scope that is already set before adding the new one (if the value is set to true for the scope to be active anyway).
modifyGroupTypeValue ( boolean $value ) : integer Given a bool value, do the needed bitwise comparison against the groupType value to either remove or add the bit from the overall value.
shouldInvertValue ( ) : boolean Check if this is a distribution type for the attribute. That type is just inverse of a security enabled type.

Описание методов

__construct() публичный Метод

public __construct ( )

fromLdap() публичный Метод

public fromLdap ( $value )

getBitForAttribute() защищенный Метод

protected getBitForAttribute ( string $attribute ) : integer
$attribute string
Результат integer

getQueryOperator() защищенный Метод

Transform a bool value into the bitwise operator needed for the LDAP filter.
protected getQueryOperator ( boolean $value ) : BaseOperator
$value boolean
Результат LdapTools\Query\Operator\BaseOperator

getShouldAggregateValues() публичный Метод

isBatchSupported() публичный Метод

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

modifyBitmaskValue() защищенный Метод

Modify the existing value based on the attributes bit.
protected modifyBitmaskValue ( integer $value, boolean $toggle, string $attribute ) : integer
$value integer
$toggle boolean
$attribute string
Результат integer

modifyGroupScopeBit() защищенный Метод

Based on the current value, remove the bit for the scope that is already set before adding the new one (if the value is set to true for the scope to be active anyway).
protected modifyGroupScopeBit ( integer $lastValue, boolean $value )
$lastValue integer
$value boolean

modifyGroupTypeValue() защищенный Метод

Given a bool value, do the needed bitwise comparison against the groupType value to either remove or add the bit from the overall value.
protected modifyGroupTypeValue ( boolean $value ) : integer
$value boolean
Результат integer

shouldInvertValue() защищенный Метод

Check if this is a distribution type for the attribute. That type is just inverse of a security enabled type.
protected shouldInvertValue ( ) : boolean
Результат boolean

toLdap() публичный Метод

public toLdap ( $value )