php-src/ext/spl
2003-12-23 01:57:26 +00:00
..
examples Show classname 2003-12-13 14:40:06 +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 don't enable by default; causes simplexml build to fail 2003-12-19 13:02:57 +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 fix API exports 2003-12-23 01:57:26 +00:00
README Update documentation 2003-12-04 19:39:46 +00:00
spl_array.c fix API exports 2003-12-23 01:57:26 +00:00
spl_array.h Remove interfaces implemented in engine now 2003-11-26 08:18:26 +00:00
spl_directory.c Add standard file info functions to DirectoryIterator 2003-12-13 14:40:56 +00:00
spl_directory.h Add standard file info functions to DirectoryIterator 2003-12-13 14:40:56 +00:00
spl_engine.c Make these inline 2003-12-10 10:21:24 +00:00
spl_engine.h Make these inline 2003-12-10 10:21:24 +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 Fix a (single) leak 2003-12-10 10:19:43 +00:00
spl_iterators.h Fix a (single) leak 2003-12-10 10:19:43 +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