API17

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}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabase::loadNextObject|Edit Descripton]]<nowiki>]</nowiki>
</span>
<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}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabase::loadNextObject|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 14:59, 24 March 2017

Joomla 11.1 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 Joomla 11.1

See also

{{subst:SeeAlso:JDatabase::loadNextObject}}

User contributed notes

<CodeExamplesForm />