API17

JDatabaseMySQLi::loadObject: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
Layout updates
Line 10: Line 10:
===Synopsis===
===Synopsis===
<source lang="php">
<source lang="php">
public JDatabaseMySQLi->loadObject ($className= 'stdClass')
public JDatabaseMySQLi::loadObject ($className= 'stdClass')
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 28: Line 28:
object
object
===Defined in===
===Defined in===
libraries/joomla/database/database/mysqli.php
libraries/joomla/database/database/mysqli.php (line 432)
* see source code in [[jplatform:database/database/mysqli.php#cl-432|BitBucket]]
===Referenced by===
===Referenced by===
===See also===
===See also===

Revision as of 01:16, 24 April 2011

Joomla 11.1 JDatabaseMySQLi::loadObject

Description

This global function loads the first row of a query into an object.

Template:Description:JDatabaseMySQLi::loadObject [Edit Descripton]

Synopsis

public JDatabaseMySQLi::loadObject ($className= 'stdClass')
Parameter Type Default Description
$className string 'stdClass' The name of the class to return (stdClass by default).

Returns

object

Defined in

libraries/joomla/database/database/mysqli.php (line 432)

Referenced by

See also

[Edit See Also]

Template:SeeAlso:JDatabaseMySQLi::loadObject

Examples

<CodeExamplesForm />