JDatabaseMySQL::loadNextObject: Difference between revisions
From Joomla! Documentation
m clean up, fixing JVer template call |
m preparing for archive only |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
Load the next row returned by the query. | Load the next row returned by the query. | ||
===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::loadNextObject|Other versions of this method]] | |||
* [[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=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
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