Call us: 0031 23-75-10500  |  Language: Dutch English German
 
The PxCollectionIterator Class

PxCollectionIterator: Object to iterate over a collection

Use the PxCollectionIterator to iterate over a instance of a PxCollection by
returning a instance of this class in the PxCollection::getIterator method.

Synopsis


Class PxCollectionIterator implements Iterator, Traversable

Methods

public PxCollectionIterator::__construct ( IteratorAggregate $collection , [array $keynames = NULL] )
public mixed PxCollectionIterator::current ( void )
public scalar PxCollectionIterator::key ( void )
public boolean PxCollectionIterator::valid ( void )