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
mixed
current()

No description

public
mixed
key()

No description

public
void
next()

No description

public
void
rewind()

No description

public
bool
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 Laminas\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

mixed current()

No description

Return Value

mixed

mixed key()

No description

Return Value

mixed

void next()

No description

Return Value

void

void rewind()

No description

Return Value

void

bool valid()

No description

Return Value

bool