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 )