API17:JDatabaseMySQLi::loadObject
From Joomla! Documentation
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