PHP Class LdapTools\Operation\QueryOperation

Author: Chad Sikorra ([email protected])
Inheritance: implements LdapTools\Operation\LdapOperationInterface, use trait LdapOperationTrait
Afficher le fichier Open project: ldaptools/ldaptools Class Usage Examples

Protected Properties

Свойство Type Description
$functionMap array
$properties array

Méthodes publiques

Méthode Description
__clone ( ) Make sure to clone an OperatorCollection instance.
__construct ( string | OperatorCollection $filter, array $attributes = [] )
getArguments ( )
getAttributes ( ) : array | null Get the attributes to be selected by the query operation.
getBaseDn ( ) : string Get the base DN for the LDAP query operation.
getFilter ( ) : string | OperatorCollection Get the filter for the LDAP query operation.
getLdapFunction ( )
getLogArray ( )
getName ( )
getPageSize ( ) : integer | null Get the page size used for the LDAP query operation.
getScope ( ) : null | string Get the scope type for the query operation.
getSizeLimit ( ) : integer Get the size limit for the number of entries returned from LDAP. When set to 0 this means no limit.
getUsePaging ( ) : boolean | null Get whether or not paging should be used for the query operation.
setAttributes ( array $attributes ) Set the attributes to be selected for the query operation.
setBaseDn ( string $baseDn ) Set the base DN for the LDAP query operation.
setFilter ( string | OperatorCollection $filter ) Set the LDAP filter for the query operation.
setPageSize ( integer $pageSize ) Set the page size used by the LDAP query operation.
setScope ( $scope ) Set the scope for the LDAP query operation.
setSizeLimit ( integer $sizeLimit ) Set the size limit for the number of entries returned from LDAP. When set to 0 this means no limit.
setUsePaging ( boolean $paging ) Set whether or not paging should be used for the query operation.

Méthodes protégées

Méthode Description
getLdapFilter ( ) : string

Method Details

__clone() public méthode

Make sure to clone an OperatorCollection instance.
public __clone ( )

__construct() public méthode

public __construct ( string | OperatorCollection $filter, array $attributes = [] )
$filter string | LdapTools\Query\OperatorCollection
$attributes array

getArguments() public méthode

public getArguments ( )

getAttributes() public méthode

Get the attributes to be selected by the query operation.
public getAttributes ( ) : array | null
Résultat array | null

getBaseDn() public méthode

Get the base DN for the LDAP query operation.
public getBaseDn ( ) : string
Résultat string

getFilter() public méthode

Get the filter for the LDAP query operation.
public getFilter ( ) : string | OperatorCollection
Résultat string | LdapTools\Query\OperatorCollection

getLdapFilter() protected méthode

protected getLdapFilter ( ) : string
Résultat string

getLdapFunction() public méthode

public getLdapFunction ( )

getLogArray() public méthode

public getLogArray ( )

getName() public méthode

public getName ( )

getPageSize() public méthode

Get the page size used for the LDAP query operation.
public getPageSize ( ) : integer | null
Résultat integer | null

getScope() public méthode

Get the scope type for the query operation.
public getScope ( ) : null | string
Résultat null | string

getSizeLimit() public méthode

Get the size limit for the number of entries returned from LDAP. When set to 0 this means no limit.
public getSizeLimit ( ) : integer
Résultat integer

getUsePaging() public méthode

Get whether or not paging should be used for the query operation.
public getUsePaging ( ) : boolean | null
Résultat boolean | null

setAttributes() public méthode

Set the attributes to be selected for the query operation.
public setAttributes ( array $attributes )
$attributes array

setBaseDn() public méthode

Set the base DN for the LDAP query operation.
public setBaseDn ( string $baseDn )
$baseDn string

setFilter() public méthode

Set the LDAP filter for the query operation.
public setFilter ( string | OperatorCollection $filter )
$filter string | LdapTools\Query\OperatorCollection

setPageSize() public méthode

Set the page size used by the LDAP query operation.
public setPageSize ( integer $pageSize )
$pageSize integer

setScope() public méthode

Set the scope for the LDAP query operation.
public setScope ( $scope )
$scope

setSizeLimit() public méthode

Set the size limit for the number of entries returned from LDAP. When set to 0 this means no limit.
public setSizeLimit ( integer $sizeLimit )
$sizeLimit integer

setUsePaging() public méthode

Set whether or not paging should be used for the query operation.
public setUsePaging ( boolean $paging )
$paging boolean

Property Details

$functionMap protected_oe property

protected array $functionMap
Résultat array

$properties protected_oe property

protected array $properties
Résultat array