JDatabaseMySQL::loadNextObject: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| Line 4: | Line 4: | ||
Load the next row returned by the query. | Load the next row returned by the query. | ||
{{Description:JDatabaseMySQL::loadNextObject}} | {{subst:Description:JDatabaseMySQL::loadNextObject}} | ||
===Since=== | ===Since=== | ||
{{JVer|11.1}} | {{JVer|11.1}} | ||
| Line 34: | Line 32: | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
* [[API17:JDatabaseMySQL|JDatabaseMySQL]] | * [[API17:JDatabaseMySQL|JDatabaseMySQL]] | ||
* [[API17:JDatabaseMySQL::loadNextObject|Other versions of this method]] | * [[API17:JDatabaseMySQL::loadNextObject|Other versions of this method]] | ||
{{SeeAlso:JDatabaseMySQL::loadNextObject}} | {{subst:SeeAlso:JDatabaseMySQL::loadNextObject}} | ||
===Examples=== | ===Examples=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 15:04, 24 March 2017
JDatabaseMySQL::loadNextObject
Description
Load the next row returned by the query.
{{subst:Description:JDatabaseMySQL::loadNextObject}}
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
{{subst:SeeAlso:JDatabaseMySQL::loadNextObject}}
Examples
<CodeExamplesForm />