API17

JDatabaseMySQL::loadNextObject: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
Load the next row returned by the query.  
Load the next row returned by the query.  


{{Description:JDatabaseMySQL::loadNextObject}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::loadNextObject|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Since===
===Since===
{{JVer|11.1.0 }}
{{JVer|11.1}}
===Synopsis===
===Synopsis===
<source lang="php">
<source lang="php">
public JDatabaseMySQL->loadNextObject ($className= 'stdClass')
public JDatabaseMySQL::loadNextObject ($className= 'stdClass')
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 30: Line 28:
mixed The result of the query as an object, false if there are no more rows, or null on an error.
mixed The result of the query as an object, false if there are no more rows, or null on an error.
===Defined in===
===Defined in===
libraries/joomla/database/database/mysql.php
libraries/joomla/database/database/mysql.php (line 560)
* see source code in [[jplatform:database/database/mysql.php#cl-560|BitBucket]]
===Referenced by===
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::loadNextObject|Edit See Also]]<nowiki>]</nowiki>
* [[API17:JDatabaseMySQL|JDatabaseMySQL]]
</span>
* [[API17:JDatabaseMySQL::loadNextObject|Other versions of this method]]
* [[JDatabaseMySQL/11.1|JDatabaseMySQL]]
 
* [[JDatabaseMySQL::loadNextObject|Other versions of this method]]
{{SeeAlso:JDatabaseMySQL::loadNextObject}}
===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabaseMySQL::loadNextObject
category=JDatabaseMySQL::loadNextObject
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::loadNextObject]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:38, 25 March 2017

Joomla 11.1 JDatabaseMySQL::loadNextObject

Description

Load the next row returned by the query.


Since

Joomla 11.1

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)

Referenced by

See also

Examples

Code Examples