Свойство | Тип | Описание | |
---|---|---|---|
$aliases | An array mapping of alias names to schema objects. | ||
$operators | Contains the various Operator objects grouped by their type. | ||
$schema | Contains the LdapObjectSchema objects |
Метод | Описание | |
---|---|---|
__clone ( ) | When an operation collection is cloned, we want to make sure the operator objects are cloned as well. | |
add ( variadic |
Add an Operator to the collection. | |
addLdapObjectSchema ( |
Add a LdapObjectSchema for a object type that will be selected for. Optionally specify a specific alias that is used to reference it. If no alias is specified, then it uses the object type name for the schema. | |
getAliases ( ) : string[] | Get the aliases in the form of ['alias' => LdapObjectSchema] | |
getAndOperators ( ) : |
Get all the 'bAnd' Operators. | |
getComparisonOperators ( ) : |
Get all the 'Comparison' Operators. | |
getIterator ( ) : ArrayIterator | Allows this object to be iterated over. | |
getMatchingRuleOperators ( ) : |
Get all the 'MatchingRule' Operators. | |
getNotOperators ( ) : |
Get all the 'bNot' Operators. | |
getOrOperators ( ) : |
Get all the 'bOr' Operators. | |
getWildcardOperators ( ) : |
Get all the 'Wildcard' Operators. | |
toArray ( ) : |
Get all the Operators sorted into a single array. | |
toLdapFilter ( string | null $alias = null ) : string | Get the LDAP filter string representation of all the operators in the collection. |
Метод | Описание | |
---|---|---|
getLdapFilter ( $alias ) | ||
getLdapFilterForAliases ( ) : string | Constructs a filter for multiple aliases that would return the requested LDAP objects in a single query. | |
sortOperatorsToArray ( ) : |
Merges all the Operators into one large array in a specific order. Before doing so, it will apply any schemas that exist. |
public __clone ( ) |
public add ( variadic |
||
$operators | variadic |
public addLdapObjectSchema ( |
||
$schema | ||
$alias | null | string |
public getAliases ( ) : string[] | ||
Результат | string[] |
public getAndOperators ( ) : |
||
Результат |
public getComparisonOperators ( ) : |
||
Результат |
public getIterator ( ) : ArrayIterator | ||
Результат | ArrayIterator |
protected getLdapFilterForAliases ( ) : string | ||
Результат | string |
public getMatchingRuleOperators ( ) : |
||
Результат |
public getNotOperators ( ) : |
||
Результат |
public getOrOperators ( ) : |
||
Результат |
public getWildcardOperators ( ) : |
||
Результат |
protected sortOperatorsToArray ( ) : |
||
Результат |
public toArray ( ) : |
||
Результат |
protected $operators |