php-src/ext/spl
2003-12-09 19:03:38 +00:00
..
examples Use better name for the constant 2003-12-08 08:31:08 +00:00
tests Cleanup 2003-11-26 23:28:35 +00:00
config.m4 Major update: 2003-11-09 14:05:36 +00:00
config.w32 make it build under win32 2003-12-06 00:09:55 +00:00
CREDITS Add spl extension 2003-05-01 23:28:28 +00:00
EXPERIMENTAL Add spl extension 2003-05-01 23:28:28 +00:00
package.xml Add package file 2003-12-04 19:53:33 +00:00
php_spl.c Implement CahingIterator and CachingRecursiveIterator as C-code. 2003-12-08 08:39:18 +00:00
php_spl.h make it build under win32 2003-12-06 00:09:55 +00:00
README Update documentation 2003-12-04 19:39:46 +00:00
spl_array.c Cleanup 2003-11-26 23:28:35 +00:00
spl_array.h Remove interfaces implemented in engine now 2003-11-26 08:18:26 +00:00
spl_directory.c - Initialize for refcounting. 2003-12-09 19:02:34 +00:00
spl_directory.h Move object struct to header. 2003-12-02 07:13:53 +00:00
spl_engine.c Major update: 2003-11-09 14:05:36 +00:00
spl_engine.h Cleanup 2003-11-26 23:28:35 +00:00
spl_functions.c Major update: 2003-11-09 14:05:36 +00:00
spl_functions.h Implement CahingIterator and CachingRecursiveIterator as C-code. 2003-12-08 08:39:18 +00:00
spl_iterators.c Add missing dtor call. 2003-12-09 19:03:38 +00:00
spl_iterators.h Implement CahingIterator and CachingRecursiveIterator as C-code. 2003-12-08 08:39:18 +00:00
spl.php Update 2003-12-04 20:01:46 +00:00
TODO Update 2003-12-04 17:45:36 +00:00

This is an extension that aims to implement some efficient data access 
interfaces and classes. You'll find the classes documented using php
code in the file spl.php or in the corresponding .inc file in the examples
subdirectory. Based on the internal implementations or the files in the 
examples subdirectory there are also some .php files to experiment with.

The .inc files are not included automatically because the are sooner or 
later intergrated into the extension. That means that you either need to 
put the code of examples/autoload into your autoprepend file or that you
have to point your ini setting auto_prepend_file to this file.

1) Iterators

SPL offers some advanced iterator algorythmns:

interface RecursiveIterator implements Iterator
class RecursiveIteratorIterator implements Iterator
abstract class FilterIterator implements Iterator
class ParentIterator extends FilterIterator implements RecursiveIterator

2) Directories

SPL offers two advanced directory classes.

class DirectoryIterator implements Iterator
class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveIterator