JDatabaseMySQLi::loadObject: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
public | 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
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)
- see source code in BitBucket
Referenced by
See also
Template:SeeAlso:JDatabaseMySQLi::loadObject
Examples
<CodeExamplesForm />