JDatabaseMySQL::loadNextObject: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Load the next row returned by the query. | Load the next row returned by the query. | ||
===Since=== | ===Since=== | ||
| Line 35: | Line 35: | ||
* [[API17:JDatabaseMySQL|JDatabaseMySQL]] | * [[API17:JDatabaseMySQL|JDatabaseMySQL]] | ||
* [[API17:JDatabaseMySQL::loadNextObject|Other versions of this method]] | * [[API17:JDatabaseMySQL::loadNextObject|Other versions of this method]] | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQL::loadNextObject | category=JDatabaseMySQL::loadNextObject | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:38, 25 March 2017
JDatabaseMySQL::loadNextObject
Description
Load the next row returned by the query.
Since
Synopsis
public JDatabaseMySQL::loadNextObject ($className= 'stdClass')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $className | string | 'stdClass' | The name of the class to return (stdClass by default). |
Returns
mixed The result of the query as an object, false if there are no more rows, or null on an error.
Defined in
libraries/joomla/database/database/mysql.php (line 560)
- see source code in BitBucket
Referenced by
See also
Examples
Code Examples