40 $this->iterators->append($it);
47 return $this->iterators->current();
55 $this->iterators->rewind();
56 if ($this->iterators->valid())
77 return $this->iterators->valid() ? $this->
getInnerIterator()->current() : NULL;
93 if (!$this->iterators->valid())
102 $this->iterators->next();
103 while ($this->iterators->valid())
110 $this->iterators->next();
118 return call_user_func_array(array($this->
getInnerIterator(), $func), $params);
append(Iterator $it)
Append an Iterator.
next()
Move to the next element.
Interface to access the current inner iteraor of iterator wrappers.
__construct()
Construct an empty AppendIterator.
rewind()
Rewind to the first element of the first inner Iterator.
__call($func, $params)
Aggregates the inner iterator.
Iterator that iterates over several iterators one after the other.