PHP Интерфейс LdapTools\Hydrator\HydratorInterface

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

Открытые методы

Метод Описание
getLdapObjectSchema ( ) : array Get the LdapObjectSchema that has been set.
getSelectedAttributes ( ) : array Get the attributes that were selected for in the query.
hydrateAllFromLdap ( array $entries ) : mixed Hydrates an array of LDAP entries.
hydrateFromLdap ( array $entry ) : mixed Hydrates a single LDAP entry.
hydrateToLdap ( mixed $object ) : array Hydrates an array representing a LDAP object so it can be sent back to LDAP.
setLdapConnection ( LdapTools\Connection\LdapConnectionInterface $connection = null ) Set the LDAP connection for the context of this hydration.
setLdapObjectSchema ( LdapObjectSchema $schema = null ) Set the LdapObjectSchema object needed for attribute/value conversion.
setOperationType ( integer $type ) Set the LDAP operation type that is requesting this hydration.
setSelectedAttributes ( array $attributes ) If this query is based off a LdapObjectSchema then include the attributes as they were named in the select statement. How they were named in the select statement is how they will be passed back. This also means that any converters applied to the mapped name, but not to the LDAP attribute name, will not be applied.

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

getLdapObjectSchema() публичный метод

Get the LdapObjectSchema that has been set.
public getLdapObjectSchema ( ) : array
Результат array An array of LdapObjectSchema objects.

getSelectedAttributes() публичный метод

Get the attributes that were selected for in the query.
public getSelectedAttributes ( ) : array
Результат array

hydrateAllFromLdap() публичный метод

Hydrates an array of LDAP entries.
public hydrateAllFromLdap ( array $entries ) : mixed
$entries array
Результат mixed

hydrateFromLdap() публичный метод

Hydrates a single LDAP entry.
public hydrateFromLdap ( array $entry ) : mixed
$entry array
Результат mixed

hydrateToLdap() публичный метод

Hydrates an array representing a LDAP object so it can be sent back to LDAP.
public hydrateToLdap ( mixed $object ) : array
$object mixed
Результат array

setLdapConnection() публичный метод

Set the LDAP connection for the context of this hydration.
public setLdapConnection ( LdapTools\Connection\LdapConnectionInterface $connection = null )
$connection LdapTools\Connection\LdapConnectionInterface

setLdapObjectSchema() публичный метод

Set the LdapObjectSchema object needed for attribute/value conversion.
public setLdapObjectSchema ( LdapObjectSchema $schema = null )
$schema LdapTools\Schema\LdapObjectSchema

setOperationType() публичный метод

Set the LDAP operation type that is requesting this hydration.
public setOperationType ( integer $type )
$type integer

setSelectedAttributes() публичный метод

If this query is based off a LdapObjectSchema then include the attributes as they were named in the select statement. How they were named in the select statement is how they will be passed back. This also means that any converters applied to the mapped name, but not to the LDAP attribute name, will not be applied.
public setSelectedAttributes ( array $attributes )
$attributes array