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
파일 보기 프로젝트 열기: ldaptools/ldaptools

공개 메소드들

메소드 설명
__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 )