Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Zend_Ldap_Node_ChildrenIterator provides an iterator to a collection of children nodes.
array $_data = ''
An array of Zend_Ldap_Node objects
__construct(
array $data
)
:
void
Constructor.
count(
)
:
int
Returns the number of child nodes.
Implements Countable
current(
)
:
Zend_Ldap_Node
Return the current child.
Implements Iterator
getChildren(
)
:
Zend_Ldap_Node_ChildrenIterator
Returns the children for the current node.
hasChildren(
)
:
boolean
Checks if current node has children.
Returns whether the current element has children.
key(
)
:
string
Return the child'd RDN.
Implements Iterator
next(
)
:
Move forward to next child.
Implements Iterator
offsetExists(
string $rdn
)
:
boolean
Checks whether a given rdn exists.
Implements ArrayAccess.
offsetGet(
string $rdn
)
:
Zend_Ldap_node
Returns a child with a given RDN.
Implements ArrayAccess.
offsetSet(
string $name, mixed $value
)
:
null
Does nothing.
Implements ArrayAccess.
offsetUnset(
string $name
)
:
null
Does nothing.
Implements ArrayAccess.
rewind(
)
:
Rewind the Iterator to the first child.
Implements Iterator
toArray(
)
:
array
Get all children as an array
valid(
)
:
boolean
Check if there is a current child after calls to rewind() or next().
Implements Iterator