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

PxEmptyCollection: An empty collection

An empty collection is an implementation of the collection interface, without any contents and can be used to
return from methods that could not provide the caller with the requested items or when none of the items could
be found.

Synopsis


Class PxEmptyCollection implements PxCollection, ArrayAccess, Countable, Traversable, IteratorAggregate

Methods

public integer PxEmptyCollection::count ( void )
public boolean PxEmptyCollection::offsetExists ( integer $index )
public object PxEmptyCollection::offsetGet ( integer $index )
public PxEmptyCollection::offsetSet ( integer $index , object $value )
public PxEmptyCollection::offsetUnset ( integer $index )