## Zend_Db_Xml_XmlIterator

Description

Implements interfaces:

- Iterator (internal interface)

Zend_Db_Xml_XmlIterator is an iterable collection of Zend_Db_Xml_XmlContent objects.

- author: Salvador Ledezma <ledezma@us.ibm.com>
- license: Zend Framework License version 1.0
- copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Db/Xml/XmlIterator.php (line 35)

Variable Summary
mixed $_docIndex
array $_docs
Method Summary
Zend_Db_Xml_XmlIterator __construct ()
void add (Zend_Db_Xml_XmlContent $xmldoc)
integer count ()
Zend_Db_Xml_XmlContent current ()
mixed key ()
mixed next ()
void rewind ()
boolean valid ()
Variables
mixed $_docIndex = 0 (line 37)

- access: protected

array $_docs (line 42)

- access: protected

Methods
Constructor __construct (line 48)

Zend_Db_Xml_XmlIterator constructor

- access: public

Zend_Db_Xml_XmlIterator __construct ()
add (line 58)

Add an Zend_Db_Xml_XmlContent to list

- access: public

void add (Zend_Db_Xml_XmlContent $xmldoc)

- Zend_Db_Xml_XmlContent $xmldoc

count (line 68)

Get the number of documents in the list

- return: Zend_Db_Xml_XmlContent count
- access: public

integer count ()
current (line 90)

Required by the Iterator interface

- return: the current document
- access: public

Zend_Db_Xml_XmlContent current ()

Implementation of:

Iterator::current

key (line 104)

Required by the Iterator interface

- return: The current key (starts at 0)
- access: public

mixed key ()

Implementation of:

Iterator::key

next (line 116)

Required by the Iterator interface

- return: The next content document, or null if no more items
- access: public

mixed next ()

Implementation of:

Iterator::next

rewind (line 78)

Required by the Iterator interface

- access: public

void rewind ()

Implementation of:

Iterator::rewind

valid (line 133)

Required by the Iterator interface

- return: whether the iteration is valid
- access: public

boolean valid ()

Implementation of:

Iterator::valid

Documentation generated on Wed, 21 Feb 2007 12:03:17 -0800 by phpDocumentor 1.3.1