PHP 클래스 LdapTools\Utilities\ArrayToOperator

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$filterBuilder LdapTools\Query\Builder\FilterBuilder
$filterMethods array
$opMap Maps some common operator names to their function names.
$schema LdapTools\Schema\LdapObjectSchema

공개 메소드들

메소드 설명
__construct ( )
getOperatorForSchema ( LdapObjectSchema $schema, array $filter ) : BaseOperator Given a schema object and a filter array, construct the operator to be used for the schema.
toOperator ( array $filter ) : BaseOperator Given an array that represents different filter methods, return the operator representation of it.

보호된 메소드들

메소드 설명
getCategoryOperator ( $objectCategory ) : null | Comparison
getClassOperator ( array $objectClass ) : bAnd | null
getOperatorForArray ( array $filter, BaseOperator $operator = null ) : BaseOperator
getOperatorMethodName ( $name ) : mixed | null
parseFilterToOperators ( array $filter ) : BaseOperator[]
processOperatorAndArguments ( mixed $name, mixed $value ) : BaseOperator

메소드 상세

__construct() 공개 메소드

public __construct ( )

getCategoryOperator() 보호된 메소드

protected getCategoryOperator ( $objectCategory ) : null | Comparison
$objectCategory
리턴 null | LdapTools\Query\Operator\Comparison

getClassOperator() 보호된 메소드

protected getClassOperator ( array $objectClass ) : bAnd | null
$objectClass array
리턴 LdapTools\Query\Operator\bAnd | null

getOperatorForArray() 보호된 메소드

protected getOperatorForArray ( array $filter, BaseOperator $operator = null ) : BaseOperator
$filter array
$operator LdapTools\Query\Operator\BaseOperator
리턴 LdapTools\Query\Operator\BaseOperator

getOperatorForSchema() 공개 메소드

Given a schema object and a filter array, construct the operator to be used for the schema.
public getOperatorForSchema ( LdapObjectSchema $schema, array $filter ) : BaseOperator
$schema LdapTools\Schema\LdapObjectSchema
$filter array
리턴 LdapTools\Query\Operator\BaseOperator

getOperatorMethodName() 보호된 메소드

protected getOperatorMethodName ( $name ) : mixed | null
$name
리턴 mixed | null

parseFilterToOperators() 보호된 메소드

protected parseFilterToOperators ( array $filter ) : BaseOperator[]
$filter array
리턴 LdapTools\Query\Operator\BaseOperator[]

processOperatorAndArguments() 보호된 메소드

protected processOperatorAndArguments ( mixed $name, mixed $value ) : BaseOperator
$name mixed
$value mixed
리턴 LdapTools\Query\Operator\BaseOperator

toOperator() 공개 메소드

Given an array that represents different filter methods, return the operator representation of it.
public toOperator ( array $filter ) : BaseOperator
$filter array
리턴 LdapTools\Query\Operator\BaseOperator

프로퍼티 상세

$filterBuilder 보호되어 있는 프로퍼티

protected FilterBuilder,LdapTools\Query\Builder $filterBuilder
리턴 LdapTools\Query\Builder\FilterBuilder

$filterMethods 보호되어 있는 프로퍼티

protected array $filterMethods
리턴 array

$opMap 보호되어 있는 프로퍼티

Maps some common operator names to their function names.
protected $opMap

$schema 보호되어 있는 프로퍼티

protected LdapObjectSchema,LdapTools\Schema $schema
리턴 LdapTools\Schema\LdapObjectSchema