HumHub Documentation (unofficial)

ChildrenIterator
in package
implements Iterator, Countable, RecursiveIterator, ArrayAccess

Laminas\Ldap\Node\ChildrenIterator provides an iterator to a collection of children nodes.

Tags
template-implements

Iterator<string, Node>

template-implements

RecursiveIterator<string, Node>

template-implements

ArrayAccess<string, Node>

Table of Contents

Interfaces

Iterator
Countable
RecursiveIterator
ArrayAccess

Properties

$data  : array<string, Node>
An array of Laminas\Ldap\Node objects

Methods

__construct()  : mixed
count()  : mixed
current()  : mixed
getChildren()  : ChildrenIterator|null
hasChildren()  : mixed
key()  : mixed
next()  : mixed
offsetExists()  : mixed
offsetGet()  : mixed
offsetSet()  : mixed
offsetUnset()  : mixed
rewind()  : mixed
toArray()  : array<string, Node>
Get all children as an array
valid()  : mixed

Properties

Methods

offsetExists()

public offsetExists(mixed $offset) : mixed
Parameters
$offset : mixed
Tags
inheritDoc

Checks whether a given rdn exists.

offsetGet()

public offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed
Tags
inheritDoc

Returns a child with a given RDN.

offsetSet()

public offsetSet(mixed $offset, mixed $value) : mixed
Parameters
$offset : mixed
$value : mixed
Tags
inheritDoc

Does nothing.

offsetUnset()

public offsetUnset(mixed $offset) : mixed
Parameters
$offset : mixed
Tags
inheritDoc

Does nothing.

toArray()

Get all children as an array

public toArray() : array<string, Node>
Return values
array<string, Node>

        
On this page

Search results