PHP Трейт LdapTools\Hydrator\HydrateQueryTrait

Автор: Chad Sikorra ([email protected])
Показать файл Открыть проект

Защищенные методы

Метод Описание
getAttributesForAlias ( array $attributes, null | string $alias ) : array
getAttributesToLdap ( array $attributes, $translate, LdapObjectSchema $schema = null, null | string $alias = null ) : array Performs the logic needed to determine what attributes were actually selected, or should be selected, when going to LDAP and whether they should be returned as schema translated names.
getSelectedQueryAttributes ( array $attributes, LdapObjectSchema $schema = null ) : array Determine what attributes should be selected. This helps account for all attributes being selected both within and out of the context of a schema.
isWildCardSelection ( ) : boolean A wildcard selection can either be '*' or '**' depending on the context of the call (with or without a schema).
mergeOrderByAttributes ( array $attributes, null | string $alias = null ) : array If any attributes that were requested to be ordered by are not explicitly in the attribute selection, add them.

Описание методов

getAttributesForAlias() защищенный метод

protected getAttributesForAlias ( array $attributes, null | string $alias ) : array
$attributes array
$alias null | string
Результат array

getAttributesToLdap() защищенный метод

Performs the logic needed to determine what attributes were actually selected, or should be selected, when going to LDAP and whether they should be returned as schema translated names.
protected getAttributesToLdap ( array $attributes, $translate, LdapObjectSchema $schema = null, null | string $alias = null ) : array
$attributes array
$schema LdapTools\Schema\LdapObjectSchema
$alias null | string
Результат array

getSelectedQueryAttributes() защищенный метод

Determine what attributes should be selected. This helps account for all attributes being selected both within and out of the context of a schema.
protected getSelectedQueryAttributes ( array $attributes, LdapObjectSchema $schema = null ) : array
$attributes array
$schema LdapTools\Schema\LdapObjectSchema
Результат array

isWildCardSelection() защищенный метод

A wildcard selection can either be '*' or '**' depending on the context of the call (with or without a schema).
protected isWildCardSelection ( ) : boolean
Результат boolean

mergeOrderByAttributes() защищенный метод

If any attributes that were requested to be ordered by are not explicitly in the attribute selection, add them.
protected mergeOrderByAttributes ( array $attributes, null | string $alias = null ) : array
$attributes array
$alias null | string
Результат array