PHP 클래스 LdapTools\Object\LdapObjectRepository

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

보호된 프로퍼티들

프로퍼티 타입 설명
$attributes The default attributes to return
$hydrationMode An explicitly set hydration mode.
$ldap LdapTools\Connection\LdapConnectionInterface
$schema LdapTools\Schema\LdapObjectSchema

공개 메소드들

메소드 설명
__call ( string $method, mixed $arguments ) : mixed Determines which method to actually call.
__construct ( LdapObjectSchema $schema, LdapTools\Connection\LdapConnectionInterface $ldap )
buildLdapQuery ( ) : LdapQueryBuilder Get the LdapQueryBuilder with the defaults for this repository type.
findBy ( array $attributes ) : mixed
findOneBy ( array $attributes ) : mixed
getAttributes ( ) : array Get the default attributes that will be selected.
getHydrationMode ( ) : string Get the hydration mode used for the results.
setAttributes ( array $attributes ) Set the default attributes to select.
setHydrationMode ( string $hydrationMode ) Set the hydration mode to use for the results.

메소드 상세

__call() 공개 메소드

Determines which method to actually call.
public __call ( string $method, mixed $arguments ) : mixed
$method string
$arguments mixed
리턴 mixed

__construct() 공개 메소드

public __construct ( LdapObjectSchema $schema, LdapTools\Connection\LdapConnectionInterface $ldap )
$schema LdapTools\Schema\LdapObjectSchema
$ldap LdapTools\Connection\LdapConnectionInterface

buildLdapQuery() 공개 메소드

Get the LdapQueryBuilder with the defaults for this repository type.
public buildLdapQuery ( ) : LdapQueryBuilder
리턴 LdapTools\Query\LdapQueryBuilder

findBy() 공개 메소드

public findBy ( array $attributes ) : mixed
$attributes array
리턴 mixed

findOneBy() 공개 메소드

public findOneBy ( array $attributes ) : mixed
$attributes array
리턴 mixed

getAttributes() 공개 메소드

Get the default attributes that will be selected.
public getAttributes ( ) : array
리턴 array

getHydrationMode() 공개 메소드

Get the hydration mode used for the results.
public getHydrationMode ( ) : string
리턴 string

setAttributes() 공개 메소드

Set the default attributes to select.
public setAttributes ( array $attributes )
$attributes array

setHydrationMode() 공개 메소드

Set the hydration mode to use for the results.
public setHydrationMode ( string $hydrationMode )
$hydrationMode string

프로퍼티 상세

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

The default attributes to return
protected $attributes

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

An explicitly set hydration mode.
protected $hydrationMode

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

protected LdapConnectionInterface,LdapTools\Connection $ldap
리턴 LdapTools\Connection\LdapConnectionInterface

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

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