english/libraries/joomla/database/database.php
/**
	 * Method to get the next row in the result set from the database query as an object.
	 *
	 * @param   string  $class  The class name to use for the returned row object.
	 *
	 * @return  mixed   The result of the query as an array, false if there are no more rows.
	 *
	 * @since   11.1
	 * @throws  DatabaseException
	 */
Method to get the next row in the result set from the database query as an object.
@param   string  $class  The class name to use for the returned row object.

@return  mixed   The result of the query as an array, false if there are no more rows.


Method to get the next row in the result set from the database query as an object . @param string $class The class name to use for the returned row object . @return mixed The result of the query as an array false if there are no more rows .
public function loadNextObject($class = 'stdClass')
	{
		static $cursor;
		if (!($cursor = $this->query())) {
			return $this->errorNum ? null : false;
		}
		if ($row = $this->fetchObject($cursor, $class)) {
			return $row;
		}
		$this->freeResult($cursor);
		$cursor = null;
		return false;
	}
public function loadNextObject ( $ class = 'stdClass' ) { static $ cursor ; if ( ! ( $ cursor = $ this -> query ( ) ) ) { return $ this -> errorNum ? null : false ; } if ( $ row = $ this -> fetchObject ( $ cursor , $ class ) ) { return $ row ; } $ this -> freeResult ( $ cursor ) ; $ cursor = null ; return false ; }
Method to get the next row in the result set from the database query as an object.
Method to get the next row in the result set from the database query as an object .
// Execute the query and get the result set cursor. // Get the next row from the result set as an object of type $class. // Free up system resources and return.