Property | Type | Description | |
---|---|---|---|
$filterBuilder | |||
$filterMethods | array | ||
$opMap | Maps some common operator names to their function names. | ||
$schema |
Method | Description | |
---|---|---|
__construct ( ) | ||
getOperatorForSchema ( |
Given a schema object and a filter array, construct the operator to be used for the schema. | |
toOperator ( array $filter ) : |
Given an array that represents different filter methods, return the operator representation of it. |
Method | Description | |
---|---|---|
getCategoryOperator ( $objectCategory ) : null | |
||
getClassOperator ( array $objectClass ) : |
||
getOperatorForArray ( array $filter, |
||
getOperatorMethodName ( $name ) : mixed | null | ||
parseFilterToOperators ( array $filter ) : |
||
processOperatorAndArguments ( mixed $name, mixed $value ) : |
protected getCategoryOperator ( $objectCategory ) : null | |
||
$objectCategory | ||
return | null | |
protected getClassOperator ( array $objectClass ) : |
||
$objectClass | array | |
return |
protected getOperatorForArray ( array $filter, |
||
$filter | array | |
$operator | ||
return |
public getOperatorForSchema ( |
||
$schema | ||
$filter | array | |
return |
protected getOperatorMethodName ( $name ) : mixed | null | ||
$name | ||
return | mixed | null |
protected parseFilterToOperators ( array $filter ) : |
||
$filter | array | |
return |
protected processOperatorAndArguments ( mixed $name, mixed $value ) : |
||
$name | mixed | |
$value | mixed | |
return |
public toOperator ( array $filter ) : |
||
$filter | array | |
return |
protected FilterBuilder,LdapTools\Query\Builder $filterBuilder | ||
return |
protected $opMap |