Using Iterators in PHP

Courtesy Linux Today  Fri, 10/23/2009 - 13:32

DevX: "This article shows you how to use the most important iterator classes: ArrayIterator, DirectoryIterator, FilterIterator, and so forth, found in the Standard PHP Library (SPL), and how to integrate SPL with PHP Data Objects (PDO)."


 

More related items

Jeremy Cook's Blog: Using the Countable Interface
In a recent post to his blog Jeremy Cook has a tutorial about using the Countable interface (part of the SPL) in your objects to make them play nicely with functions like count. PHP...

SitePoint PHP Blog: Simple Object Iterators in PHP
On the SitePoint PHP blog today there's a new post from Craig Buckler looking (quickly) at a handy feature of the Standard PHP Library (SPL) that can help make working with objects and...

Adam Gotterer's Blog: Building an Object Collection...
Adam Gotterer has written up a tutorial with his process behind creating an object collection manager with PHP's built-in SPL functionality. The purpose of a collection is to store objects...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com