API17

JDatabase::loadNextObject: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
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.  


{{subst:Description:JDatabase::loadNextObject}}
 


<source lang="php">
<source lang="php">
Line 30: 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]]
{{subst:SeeAlso:JDatabase::loadNextObject}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabase::loadNextObject
category=JDatabase::loadNextObject
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:34, 25 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.


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


User contributed notes

Code Examples