JDatabaseMySQLi::loadObject: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
This global function loads the first row of a query into an object. | This global function loads the first row of a query into an object. | ||
===Synopsis=== | ===Synopsis=== | ||
| Line 33: | Line 33: | ||
* [[API17:JDatabaseMySQLi|JDatabaseMySQLi]] | * [[API17:JDatabaseMySQLi|JDatabaseMySQLi]] | ||
* [[API17:JDatabaseMySQLi::loadObject|Other versions of this method]] | * [[API17:JDatabaseMySQLi::loadObject|Other versions of this method]] | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQLi::loadObject | category=JDatabaseMySQLi::loadObject | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:41, 25 March 2017
JDatabaseMySQLi::loadObject
Description
This global function loads the first row of a query into an object.
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
Examples
Code Examples