API17

JDatabaseMySQL::loadNextObject: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
Layout updates
Line 12: Line 12:
===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 30:
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===

Revision as of 01:13, 24 April 2011

Joomla 11.1 JDatabaseMySQL::loadNextObject

Description

Load the next row returned by the query.

Template:Description:JDatabaseMySQL::loadNextObject [Edit Descripton]

Since

Joomla 11.1.0

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

[Edit See Also]

Template:SeeAlso:JDatabaseMySQL::loadNextObject

Examples

<CodeExamplesForm />