ChildrenIterator
in package
implements
Iterator, Countable, RecursiveIterator, ArrayAccess
Laminas\Ldap\Node\ChildrenIterator provides an iterator to a collection of children nodes.
Tags
Table of Contents
Interfaces
- Iterator
- Countable
- RecursiveIterator
- ArrayAccess
Properties
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
$data
An array of Laminas\Ldap\Node objects
private
array<string, Node>
$data
Methods
__construct()
public
__construct(array<string, Node> $data) : mixed
Parameters
- $data : array<string, Node>
count()
public
count() : mixed
Tags
current()
public
current() : mixed
Tags
getChildren()
public
getChildren() : ChildrenIterator|null
Tags
Return values
ChildrenIterator|nullhasChildren()
public
hasChildren() : mixed
Tags
key()
public
key() : mixed
Tags
next()
public
next() : mixed
Tags
offsetExists()
public
offsetExists(mixed $offset) : mixed
Parameters
- $offset : mixed
Tags
offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Tags
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : mixed
Parameters
- $offset : mixed
- $value : mixed
Tags
offsetUnset()
public
offsetUnset(mixed $offset) : mixed
Parameters
- $offset : mixed
Tags
rewind()
public
rewind() : mixed
Tags
toArray()
Get all children as an array
public
toArray() : array<string, Node>
Return values
array<string, Node>valid()
public
valid() : mixed