[eluser]anveo[/eluser]
Is there a way I can access the list of returned objects via an index number? i.e.
Code:
$users = new User();
$users->get();
$first = $users[0];
I see DataMapper implements IteratorAggregate, and defines the 'key' function, but I can't seem to get it working. I am subclassing DataMapper as DataMapperExt, and calling the parent __construct, but I see DataMapper does both __construct and DataMapper() constructor. Might that have something to do with it?