PHP Класс LdapTools\Object\LdapObjectRepository

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

Защищенные свойства (Protected)

Свойство Тип Описание
$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