JDatabaseMySQLi::loadObject: Difference between revisions
From Joomla! Documentation
m JoomlaWikiBot moved page JDatabaseMySQLi::loadObject/11.1 to API17:JDatabaseMySQLi::loadObject without leaving a redirect: Robot: Moved page |
m preparing for archive only |
||
| (3 intermediate revisions by the same user not shown) | |||
| 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=== | ||
<source lang="php"> | <source lang="php"> | ||
| Line 32: | Line 30: | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
* [[API17:JDatabaseMySQLi|JDatabaseMySQLi]] | |||
* [[API17:JDatabaseMySQLi::loadObject|Other versions of this method]] | |||
* [[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=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
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