/** * Move the internal result pointer to the next available result * * @return true on success, false if there is no more result set or an error object on failure * @access public */ function nextResult() { if (false === $this->result) { return $this->db->raiseError(MDB2_ERROR_NEED_MORE_DATA, null, null, 'resultset has already been freed', __FUNCTION__); } if (null === $this->result) { return false; } return @fbsql_next_result($this->result); }
/** * Move the internal fbsql result pointer to the next available result * * @param a valid fbsql result resource * * @access public * * @return true if a result is available otherwise return false */ function nextResult($result) { return @fbsql_next_result($result); }
/** * Move the internal result pointer to the next available result * Currently not supported * * @return true on success, false if there is no more result set or an error object on failure * @access public */ function nextResult() { if ($this->result === false) { return $this->db->raiseError(MDB2_ERROR_NEED_MORE_DATA, null, null, 'nextResult: resultset has already been freed'); } elseif (is_null($this->result)) { return false; } return @fbsql_next_result($this->result); }