class Doctrine_Collection_Iterator_Offset extends Doctrine_Collection_Iterator (View source)

Doctrine_Collection_Iterator_Normal

Properties

protected Doctrine_Collection $collection from Doctrine_Collection_Iterator
protected array $keys from Doctrine_Collection_Iterator
protected mixed $key from Doctrine_Collection_Iterator
protected integer $index from Doctrine_Collection_Iterator
protected integer $count from Doctrine_Collection_Iterator

Methods

__construct($collection)

constructor

void
rewind()

rewinds the iterator

integer
key()

returns the current key

current()

returns the current record

void
next()

advances the internal pointer

valid()

No description

Details

__construct($collection)

constructor

Parameters

$collection

void rewind()

rewinds the iterator

Return Value

void

integer key()

returns the current key

Return Value

integer

Doctrine_Record current()

returns the current record

Return Value

Doctrine_Record

void next()

advances the internal pointer

Return Value

void

valid()