Tag Archives: iterator
The Iterator Pattern: OOP Techniques in PHP
Posted on 04. Mar, 2009 by Will Fitch.
2
The iterator pattern is one of the most useful, yet unused patterns defined. It provides a way for class users to count and iterate over a set of objects related to the class. This is very useful in MVC (Model-View-Controller) models as they handle data and the logic that pertains to it.



