JDatabase::loadObject: Difference between revisions
From Joomla! Documentation
m →User contributed notes: moving preparation |
m →See also: moving preparation |
||
| Line 29: | Line 29: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabase::loadObject source code''' on [[jplatform:database/database.php#cl-663|BitBucket]] | * {{JVer|11.1}} '''JDatabase::loadObject source code''' on [[jplatform:database/database.php#cl-663|BitBucket]] | ||
* {{JVer|11.1}} Class [[JDatabase | * {{JVer|11.1}} Class [[API17:JDatabase|JDatabase]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[JDatabase::loadObject|Other versions of JDatabase::loadObject]] | * [[API17:JDatabase::loadObject|Other versions of JDatabase::loadObject]] | ||
{{SeeAlso:JDatabase::loadObject}} | {{SeeAlso:JDatabase::loadObject}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Revision as of 01:02, 12 May 2013
JDatabase::loadObject
Description
Method to get the first row of the result set from the database query as an object.
Template:Description:JDatabase::loadObject [Edit Descripton]
public function loadObject ($class= 'stdClass')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $class | 'stdClass' |
- Returns mixed The return value or null if the query failed.
- Defined on line 671 of libraries/joomla/database/database.php
- Since

See also
JDatabase::loadObject source code on BitBucket
Class JDatabase
Subpackage Database- Other versions of JDatabase::loadObject
Template:SeeAlso:JDatabase::loadObject [Edit See Also]
User contributed notes
<CodeExamplesForm />