JDatabaseMySQL::loadNextObject: Difference between revisions
From Joomla! Documentation
Layout updates |
m clean up, fixing JVer template call |
||
| Line 9: | Line 9: | ||
</span> | </span> | ||
===Since=== | ===Since=== | ||
{{JVer|11.1 | {{JVer|11.1}} | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
Revision as of 23:43, 18 September 2012
JDatabaseMySQL::loadNextObject
Description
Load the next row returned by the query.
Template:Description:JDatabaseMySQL::loadNextObject [Edit Descripton]
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
Template:SeeAlso:JDatabaseMySQL::loadNextObject
Examples
<CodeExamplesForm />