Lines Matching refs:iter
60 /** @param $iter new Iterator to attach.
66 public function attachIterator(Iterator $iter, $inf = NULL)
75 foreach($this->iterators as $iter)
83 $this->iterators->attach($iter, $inf);
86 /** @param $iter attached Iterator that should be detached. */
87 public function detachIterator(Iterator $iter)
89 $this->iterators->detach($iter);
92 /** @param $iter Iterator to check
93 * @return whether $iter is attached or not
95 public function containsIterator(Iterator $iter)
97 return $this->iterator->contains($iter);
109 foreach($this->iterators as $iter)
111 $iter->rewind();
130 foreach($this->iterators as $iter)
132 if ($expect != $iter->valid())
145 foreach($this->iterators as $iter)
147 $iter->next();
164 foreach($this->iterators as $iter)
166 if ($iter->valid())
175 $retval[$key] = $iter->current();
179 $retval[] = $iter->current();
206 foreach($this->iterators as $iter)
208 if ($iter->valid())
210 $retval[] = $iter->key();