final class LDAPIterator implements Iterator (View source)

Class LDAPIterator

Methods

public
__construct(Ldap $ldap, string $filter = "", string|null $baseDn = null, array $returnAttributes = null, int $pageSize = 250, bool $resolveRangedAttributes = false)

No description

public
current()

No description

public
key()

No description

public
next()

No description

public
rewind()

No description

public
valid()

No description

Details

__construct(Ldap $ldap, string $filter = "", string|null $baseDn = null, array $returnAttributes = null, int $pageSize = 250, bool $resolveRangedAttributes = false)

No description

Parameters

Ldap $ldap

The Zend\Ldap\Ldap object that this iterator will use to retrieve results from

string $filter

An LDAP search filter (e.g. "(&(objectClass=user)(!(objectClass=computer)))")

string|null $baseDn

The Base DN to search from (or null to search from the connection root)

array $returnAttributes

The attributes to request from the LDAP server, or null to request all

int $pageSize

Number of results per page. This must be less than the LDAP server MaxPageSize setting

bool $resolveRangedAttributes

Whether or not to return ranged attributes

current()

No description

key()

No description

next()

No description

rewind()

No description

valid()

No description