Class: Doctrine_Collection_Iterator
Source Location: /Doctrine/Collection/Iterator.phpClass Doctrine_Collection_Iterator
Class Overview
Implements interfaces:
Doctrine_Collection_Iterator iterates through Doctrine_Collection Located in /Doctrine/Collection/Iterator.php [line 33] Author(s):
Information Tags:
|
[ Top ]
Direct descendents
Child Class | Description |
---|---|
Doctrine_Collection_Iterator_Expandable | Doctrine_Collection_Iterator_Normal |
Doctrine_Collection_Iterator_Normal | Doctrine_Collection_Iterator_Normal |
Doctrine_Collection_Iterator_Offset | Doctrine_Collection_Iterator_Normal |
[ Top ]
Property Summary
Method Summary
Doctrine_Collection_Iterator | __construct() | constructor |
Doctrine_Record | current() | returns the current record |
integer | key() | returns the current key |
void | next() | advances the internal pointer |
void | rewind() | rewinds the iterator |
[ Top ]
Methods
Constructor __construct [line 60]
|
constructor
Parameters:$collection: |
API Tags:
Access: | public |
[ Top ]
current [line 94]
|
returns the current record
API Tags:
Access: | public |
Implementation of:
- Iterator::current
[ Top ]
key [line 85]
|
returns the current key
API Tags:
Access: | public |
Implementation of:
- Iterator::key
[ Top ]
next [line 103]
|
advances the internal pointer
API Tags:
Access: | public |
Implementation of:
- Iterator::next
[ Top ]