API17

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/11.1|JDatabase]]
* {{JVer|11.1}} Class [[API17:JDatabase|JDatabase]]
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|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

Joomla 11.1 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 Joomla 11.1

See also

Template:SeeAlso:JDatabase::loadObject [Edit See Also]

User contributed notes

<CodeExamplesForm />