Class Zend_Ldap_Node_ChildrenIterator

Description

Implements interfaces:

  • Iterator (internal interface)
  • Countable (internal interface)
  • RecursiveIterator (internal interface)
  • ArrayAccess (internal interface)

Zend_Ldap_Node_ChildrenIterator provides an iterator to a collection of children nodes.

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Ldap/Node/ChildrenIterator.php (line 37)


	
			
Method Summary
 void __construct ( $data)
 int count ()
 boolean hasChildren ()
 string key ()
 void next ()
 boolean offsetExists (string $rdn)
 Zend_Ldap_node offsetGet (string $rdn)
 null offsetSet (string $name, mixed $value)
 null offsetUnset (string $name)
 void rewind ()
 array toArray ()
 boolean valid ()
Methods
Constructor __construct (line 52)

Constructor.

  • access: public
void __construct ( $data)
  • array $data
count (line 63)

Returns the number of child nodes.

Implements Countable

  • access: public
int count ()

Implementation of:
Countable::count
current (line 74)

Return the current child.

Implements Iterator

  • access: public
Zend_Ldap_Node current ()

Implementation of:
Iterator::current
RecursiveIterator::current
getChildren (line 140)

Returns the children for the current node.

  • access: public

Implementation of:
RecursiveIterator::getChildren
hasChildren (line 126)

Checks if current node has children.

Returns whether the current element has children.

  • access: public
boolean hasChildren ()

Implementation of:
RecursiveIterator::hasChildren
key (line 85)

Return the child'd RDN.

Implements Iterator

  • access: public
string key ()

Implementation of:
Iterator::key
RecursiveIterator::key
next (line 94)

Move forward to next child.

Implements Iterator

  • access: public
void next ()

Implementation of:
Iterator::next
RecursiveIterator::next
offsetExists (line 172)

Checks whether a given rdn exists.

Implements ArrayAccess.

  • access: public
boolean offsetExists (string $rdn)
  • string $rdn

Implementation of:
ArrayAccess::offsetExists
offsetGet (line 156)

Returns a child with a given RDN.

Implements ArrayAccess.

  • access: public
Zend_Ldap_node offsetGet (string $rdn)
  • string $rdn

Implementation of:
ArrayAccess::offsetGet
offsetSet (line 194)

Does nothing.

Implements ArrayAccess.

  • access: public
null offsetSet (string $name, mixed $value)
  • string $name
  • mixed $value

Implementation of:
ArrayAccess::offsetSet
offsetUnset (line 184)

Does nothing.

Implements ArrayAccess.

  • access: public
null offsetUnset (string $name)
  • string $name

Implementation of:
ArrayAccess::offsetUnset
rewind (line 103)

Rewind the Iterator to the first child.

Implements Iterator

  • access: public
void rewind ()

Implementation of:
Iterator::rewind
RecursiveIterator::rewind
toArray (line 201)

Get all children as an array

  • access: public
array toArray ()
valid (line 115)

Check if there is a current child after calls to rewind() or next().

Implements Iterator

  • access: public
boolean valid ()

Implementation of:
Iterator::valid
RecursiveIterator::valid

Documentation generated on Mon, 21 Jun 2010 15:11:33 -0400 by phpDocumentor 1.4.3