/** * Advances the cursor to the next record * * @return void */ public function next() { parent::next(); if ($this->_validValues) { $this->_values->next(); } $this->_validValues = $this->_values->valid(); }
/** * Advances the iterator pointer to the next element * * @return void */ public function next() { $this->_index++; if (!$this->_finished) { parent::next(); } }