JDatabase::loadNextObject: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| Line 4: | Line 4: | ||
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. | ||
{{Description:JDatabase::loadNextObject}} | {{subst:Description:JDatabase::loadNextObject}} | ||
<source lang="php"> | <source lang="php"> | ||
public function loadNextObject ($class= 'stdClass') | public function loadNextObject ($class= 'stdClass') | ||
| Line 32: | Line 30: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[API17:JDatabase::loadNextObject|Other versions of JDatabase::loadNextObject]] | * [[API17:JDatabase::loadNextObject|Other versions of JDatabase::loadNextObject]] | ||
{{SeeAlso:JDatabase::loadNextObject}} | {{subst:SeeAlso:JDatabase::loadNextObject}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 14:59, 24 March 2017
JDatabase::loadNextObject
Description
Method to get the next row in the result set from the database query as an object.
{{subst:Description:JDatabase::loadNextObject}}
public function loadNextObject ($class= 'stdClass')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $class | 'stdClass' |
- Returns mixed The result of the query as an array, false if there are no more rows.
- Defined on line 611 of libraries/joomla/database/database.php
- Since

See also
JDatabase::loadNextObject source code on BitBucket
Class JDatabase
Subpackage Database- Other versions of JDatabase::loadNextObject
{{subst:SeeAlso:JDatabase::loadNextObject}}
User contributed notes
<CodeExamplesForm />