|
SPL-StandardPHPLibrary
|


Public Member Functions | |
| __call ($func, $params) | |
| __construct (RecursiveIterator $it, $flags=self::CALL_TOSTRING) | |
| __toString () | |
| current () | |
| getChildren () | |
| getInnerIterator () | |
| hasChildren () | |
| hasNext () | |
| key () | |
| next () | |
| rewind () | |
| valid () | |
Public Attributes | |
| const | CALL_TOSTRING = 0x00000001 |
| const | CATCH_GET_CHILD = 0x00000002 |
| $this | getChildren = NULL |
| const | TOSTRING_USE_CURRENT = 0x00000020 |
| const | TOSTRING_USE_KEY = 0x00000010 |
Private Attributes | |
| $getChildren | |
| $hasChildren | |
| $ref | |
Cached recursive iteration over another Iterator.
Definition at line 20 of file recursivecachingiterator.inc.
| RecursiveCachingIterator::__construct | ( | RecursiveIterator | $it, |
$flags = self::CALL_TOSTRING |
|||
| ) |
Construct from another iterator.
| it | Iterator to cache |
| flags | Bitmask:
|
Definition at line 32 of file recursivecachingiterator.inc.
|
inherited |
Aggregate the inner iterator.
| func | Name of method to invoke |
| params | Array of parameters to pass to method |
Definition at line 122 of file cachingiterator.inc.
|
inherited |
| exception | when CALL_TOSTRING was not specified in constructor |
Definition at line 131 of file cachingiterator.inc.
References CachingIterator\$current, CachingIterator\$key, and CachingIterator\$strValue.
|
inherited |
Implements Iterator.
Definition at line 105 of file cachingiterator.inc.
References CachingIterator\$current.
Referenced by CachingIterator\next().
| RecursiveCachingIterator::getChildren | ( | ) |
Implements RecursiveIterator.
Definition at line 93 of file recursivecachingiterator.inc.
References $getChildren.
Referenced by next().
|
inherited |
Implements OuterIterator.
Definition at line 151 of file cachingiterator.inc.
References CachingIterator\$it.
| RecursiveCachingIterator::hasChildren | ( | ) |
Implements RecursiveIterator.
Definition at line 86 of file recursivecachingiterator.inc.
References $hasChildren.
Referenced by next().
|
inherited |
Definition at line 98 of file cachingiterator.inc.
|
inherited |
Implements Iterator.
Definition at line 112 of file cachingiterator.inc.
References CachingIterator\$key.
Referenced by CachingIterator\next().
| RecursiveCachingIterator::next | ( | ) |
Forward to next element if necessary then an Iterator for the Children will be created.
Implements Iterator.
Definition at line 49 of file recursivecachingiterator.inc.
References $ref, getChildren(), and hasChildren().

|
inherited |
Implements Iterator.
Definition at line 91 of file cachingiterator.inc.
References CachingIterator\$valid.
Referenced by CachingIterator\next().
|
private |
Definition at line 23 of file recursivecachingiterator.inc.
Referenced by getChildren().
|
private |
Definition at line 22 of file recursivecachingiterator.inc.
Referenced by hasChildren().
|
private |
Definition at line 78 of file recursivecachingiterator.inc.
Referenced by next().
|
inherited |
Definition at line 30 of file cachingiterator.inc.
Referenced by DirectoryGraphIterator\__construct(), and DirectoryTreeIterator\__construct().
|
inherited |
Definition at line 31 of file cachingiterator.inc.
Referenced by DirectoryGraphIterator\__construct(), and DirectoryTreeIterator\__construct().
| $this RecursiveCachingIterator::getChildren = NULL |
Definition at line 42 of file recursivecachingiterator.inc.
|
inherited |
Definition at line 33 of file cachingiterator.inc.
|
inherited |
Definition at line 32 of file cachingiterator.inc.
1.8.5