diff options
author | Marcus Boerger <helly@php.net> | 2004-03-09 17:47:28 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-03-09 17:47:28 +0000 |
commit | 5f5a8172be781d2c56a41e4d2a915a5561632b81 (patch) | |
tree | 2db8299e244ea57eb754e531c87613f5b6abcb13 /ext/spl/README | |
parent | bf2cf5041c7cefe47ad12c2aff2c9e0771c03b14 (diff) | |
download | php-git-5f5a8172be781d2c56a41e4d2a915a5561632b81.tar.gz |
Update
Diffstat (limited to 'ext/spl/README')
-rwxr-xr-x | ext/spl/README | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/ext/spl/README b/ext/spl/README index dff015e2c1..7806b0f560 100755 --- a/ext/spl/README +++ b/ext/spl/README @@ -4,11 +4,15 @@ 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 +The .inc files are not included automatically because they are sooner or later integrated 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. +Below is a list of interfaces/classes already availabel natively through +the SPL extension grouped by category. For more information refer to the +docuement spl.php. + 1) Iterators SPL offers some advanced iterator algorithms: @@ -17,23 +21,27 @@ interface RecursiveIterator implements Iterator class RecursiveIteratorIterator implements Iterator abstract class FilterIterator implements Iterator class ParentIterator extends FilterIterator implements RecursiveIterator +interface SeekableIterator implements Iterator +class LimitIterator implements Iterator +class CachingIterator implements Iterator +class CachingRecursiveIterator extends CachingIterator implements RecursiveIterator 2) Directories -SPL offers two advanced directory classes. +SPL offers two advanced directory classes: class DirectoryIterator implements Iterator class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveIterator 3) XML -SPL offers an advanced XML handling class. +SPL offers an advanced XML handling class: class SimpleXMLIterator extends simplexml_element extends recursiveiterator 4) Array Overloading -SPL offers advanced Array overloading. +SPL offers advanced Array overloading: class ArrayObject implements IteratorAggregate class ArrayIterator implements Iterator |