Docs For Class Zend_Db_Xml_XmlIterator

## Class 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-2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Db/Xml/XmlIterator.php (line 33)

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 35)

- access: protected

array $_docs (line 40)

- access: protected

Methods
Constructor __construct (line 46)

Zend_Db_Xml_XmlIterator constructor

- access: public

Zend_Db_Xml_XmlIterator __construct ()
add (line 56)

Add an Zend_Db_Xml_XmlContent to list

- access: public

void add (Zend_Db_Xml_XmlContent $xmldoc)

- Zend_Db_Xml_XmlContent $xmldoc

count (line 66)

Get the number of documents in the list

- return: Zend_Db_Xml_XmlContent count
- access: public

integer count ()
current (line 88)

Required by the Iterator interface

- return: the current document
- access: public

Zend_Db_Xml_XmlContent current ()

Implementation of:

Iterator::current

key (line 102)

Required by the Iterator interface

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

mixed key ()

Implementation of:

Iterator::key

next (line 114)

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 76)

Required by the Iterator interface

- access: public

void rewind ()

Implementation of:

Iterator::rewind

valid (line 131)

Required by the Iterator interface

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

boolean valid ()

Implementation of:

Iterator::valid

Documentation generated on Sun, 29 Oct 2006 21:28:04 -0600 by phpDocumentor 1.3.0RC6