PHP 인터페이스 LdapTools\Hydrator\HydratorInterface

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools

공개 메소드들

메소드 설명
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