IsisItemIterator Class Reference

List of all members.

Public Member Functions

 __construct ($class, $field, $main=false)
 rewind ()
 key ()
 current ()
 next ()
 valid ()

Detailed Description

Isis field iterator. Iterates over a field for each result row.


Constructor & Destructor Documentation

IsisItemIterator::__construct ( class,
field,
main = false 
)

Constructor.

Parameters:
$class Instance of IsisConnector or child class.
$field Field to iterate over.
$main Control to which item the main field should be mapped to. By default no mapping is made.

Member Function Documentation

IsisItemIterator::current (  ) 

Return the current element.

IsisItemIterator::key (  ) 

Return the key of the current element.

IsisItemIterator::next (  ) 

Move forward to next element.

IsisItemIterator::rewind (  ) 

Rewind the Iterator to the first element.

IsisItemIterator::valid (  ) 

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


The documentation for this class was generated from the following file:
 All Classes Functions Variables
Generated on Fri Aug 20 15:38:20 2010 for Cinisis Database Reader by  doxygen 1.6.3