Gdn_DataSet::nextRow PHP Method

nextRow() public method

Returns the next row or FALSE if there are no more rows.
public nextRow ( string $DatasetType = false )
$DatasetType string The format in which the result should be returned: object or array.
    public function &nextRow($DatasetType = false)
    {
        $Result =& $this->result($DatasetType);
        ++$this->_Cursor;
        if (isset($Result[$this->_Cursor])) {
            return $Result[$this->_Cursor];
        }
        return $this->_EOF;
    }