Prado\Data\TDbDataReader::rewind PHP 메소드

rewind() 공개 메소드

This method is required by the interface Iterator.
public rewind ( )
    public function rewind()
    {
        if ($this->_index < 0) {
            $this->_row = $this->_statement->fetch();
            $this->_index = 0;
        } else {
            throw new TDbException('dbdatareader_rewind_invalid');
        }
    }