public function rewind() { if ($this->_index < 0) { $this->_row = $this->_statement->fetch(); $this->_index = 0; } else { throw new TDbException('dbdatareader_rewind_invalid'); } }