|
SPL-StandardPHPLibrary
|


Public Member Functions | |
| __call ($func, $params) | |
| accept () | |
| current () | |
| getInnerIterator () | |
| key () | |
| next () | |
| rewind () | |
| valid () | |
Protected Member Functions | |
| __clone () | |
| fetch () | |
Private Attributes | |
| $done = false | |
Iterator to search for a specific element.
This extended FilterIterator stops after finding the first acceptable value.
Definition at line 20 of file searchiterator.inc.
| SearchIterator::__call | ( | $func, | |
| $params | |||
| ) |
Aggregates the inner iterator.
Definition at line 52 of file searchiterator.inc.
References FilterIterator\getInnerIterator().

|
protectedinherited |
|
abstractinherited |
Accept function to decide whether an element of the inner iterator should be accessible through the Filteriterator.
Referenced by FilterIterator\fetch().
|
inherited |
Implements Iterator.
Definition at line 97 of file filteriterator.inc.
Referenced by RegexFindFile\accept(), and FindFile\accept().
|
protectedinherited |
Fetch next element and store it.
Definition at line 61 of file filteriterator.inc.
References FilterIterator\accept().
Referenced by FilterIterator\next(), and FilterIterator\rewind().

|
inherited |
Implements OuterIterator.
Definition at line 111 of file filteriterator.inc.
References FilterIterator\$it.
Referenced by __call(), DirectoryFilterDots\accept(), KeyFilter\accept(), RecursiveRegexIterator\getChildren(), RecursiveFilterIterator\getChildren(), RecursiveRegexIterator\hasChildren(), RecursiveFilterIterator\hasChildren(), and DirectoryFilterDots\key().
|
inherited |
Implements Iterator.
Definition at line 90 of file filteriterator.inc.
Referenced by KeyFilter\accept().
| SearchIterator::next | ( | ) |
Do not move forward but instead mark as finished.
Implements Iterator.
Definition at line 45 of file searchiterator.inc.
| SearchIterator::rewind | ( | ) |
Rewind and reset so that it once again searches.
Implements Iterator.
Definition at line 28 of file searchiterator.inc.
| SearchIterator::valid | ( | ) |
Implements Iterator.
Definition at line 37 of file searchiterator.inc.
|
private |
whether an entry was found already
Definition at line 23 of file searchiterator.inc.
1.8.5