PHP Class LdapTools\Object\LdapObjectRepository

Author: Chad Sikorra ([email protected])
Afficher le fichier Open project: ldaptools/ldaptools

Protected Properties

Свойство Type Description
$attributes The default attributes to return
$hydrationMode An explicitly set hydration mode.
$ldap LdapTools\Connection\LdapConnectionInterface
$schema LdapTools\Schema\LdapObjectSchema

Méthodes publiques

Méthode Description
__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.

Method Details

__call() public méthode

Determines which method to actually call.
public __call ( string $method, mixed $arguments ) : mixed
$method string
$arguments mixed
Résultat mixed

__construct() public méthode

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

buildLdapQuery() public méthode

Get the LdapQueryBuilder with the defaults for this repository type.
public buildLdapQuery ( ) : LdapQueryBuilder
Résultat LdapTools\Query\LdapQueryBuilder

findBy() public méthode

public findBy ( array $attributes ) : mixed
$attributes array
Résultat mixed

findOneBy() public méthode

public findOneBy ( array $attributes ) : mixed
$attributes array
Résultat mixed

getAttributes() public méthode

Get the default attributes that will be selected.
public getAttributes ( ) : array
Résultat array

getHydrationMode() public méthode

Get the hydration mode used for the results.
public getHydrationMode ( ) : string
Résultat string

setAttributes() public méthode

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

setHydrationMode() public méthode

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

Property Details

$attributes protected_oe property

The default attributes to return
protected $attributes

$hydrationMode protected_oe property

An explicitly set hydration mode.
protected $hydrationMode

$ldap protected_oe property

protected LdapConnectionInterface,LdapTools\Connection $ldap
Résultat LdapTools\Connection\LdapConnectionInterface

$schema protected_oe property

protected LdapObjectSchema,LdapTools\Schema $schema
Résultat LdapTools\Schema\LdapObjectSchema