|
SPL-StandardPHPLibrary
|


Public Member Functions | |
| __call ($func, $params) | |
| __construct () | |
| append (Iterator $it) | |
| current () | |
| getInnerIterator () | |
| key () | |
| next () | |
| rewind () | |
| valid () | |
Private Attributes | |
| $iterators | |
Iterator that iterates over several iterators one after the other.
Definition at line 18 of file appenditerator.inc.
| AppendIterator::__construct | ( | ) |
| AppendIterator::__call | ( | $func, | |
| $params | |||
| ) |
Aggregates the inner iterator.
Definition at line 116 of file appenditerator.inc.
References getInnerIterator().

| AppendIterator::append | ( | Iterator | $it | ) |
Append an Iterator.
| $it | Iterator to append |
If the current state is invalid but the appended iterator is valid the AppendIterator itself becomes valid. However there will be no call to $it->rewind(). Also if the current state is invalid the inner ArrayIterator will be rewound und forwarded to the appended element.
Definition at line 38 of file appenditerator.inc.
| AppendIterator::current | ( | ) |
NULL Implements Iterator.
Definition at line 71 of file appenditerator.inc.
References getInnerIterator().

| AppendIterator::getInnerIterator | ( | ) |
Implements OuterIterator.
Definition at line 45 of file appenditerator.inc.
Referenced by __call(), current(), key(), next(), rewind(), and valid().
| AppendIterator::key | ( | ) |
NULL Implements Iterator.
Definition at line 82 of file appenditerator.inc.
References getInnerIterator().

| AppendIterator::next | ( | ) |
Move to the next element.
If this means to another Iterator that rewind that Iterator.
Implements Iterator.
Definition at line 91 of file appenditerator.inc.
References getInnerIterator(), and valid().

| AppendIterator::rewind | ( | ) |
Rewind to the first element of the first inner Iterator.
Implements Iterator.
Definition at line 53 of file appenditerator.inc.
References getInnerIterator().

| AppendIterator::valid | ( | ) |
Implements Iterator.
Definition at line 64 of file appenditerator.inc.
References getInnerIterator().
Referenced by next().

|
private |
array of inner iterators
Definition at line 21 of file appenditerator.inc.
1.8.5