JDatabaseMySQLi::loadObject: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| 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. | ||
{{Description:JDatabaseMySQLi::loadObject}} | {{subst:Description:JDatabaseMySQLi::loadObject}} | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| Line 32: | Line 30: | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
* [[API17:JDatabaseMySQLi|JDatabaseMySQLi]] | * [[API17:JDatabaseMySQLi|JDatabaseMySQLi]] | ||
* [[API17:JDatabaseMySQLi::loadObject|Other versions of this method]] | * [[API17:JDatabaseMySQLi::loadObject|Other versions of this method]] | ||
{{SeeAlso:JDatabaseMySQLi::loadObject}} | {{subst:SeeAlso:JDatabaseMySQLi::loadObject}} | ||
===Examples=== | ===Examples=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 15:07, 24 March 2017
JDatabaseMySQLi::loadObject
Description
This global function loads the first row of a query into an object.
{{subst:Description:JDatabaseMySQLi::loadObject}}
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
{{subst:SeeAlso:JDatabaseMySQLi::loadObject}}
Examples
<CodeExamplesForm />