API17

JDatabaseMySQL::loadObject: Difference between revisions

From Joomla! Documentation

m JoomlaWikiBot moved page JDatabaseMySQL::loadObject/11.1 to API17:JDatabaseMySQL::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.  


{{Description:JDatabaseMySQL::loadObject}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::loadObject|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Synopsis===
===Synopsis===
<source lang="php">
<source lang="php">
Line 32: Line 30:
===Referenced by===
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::loadObject|Edit See Also]]<nowiki>]</nowiki>
* [[API17:JDatabaseMySQL|JDatabaseMySQL]]
</span>
* [[API17:JDatabaseMySQL::loadObject|Other versions of this method]]
* [[JDatabaseMySQL/11.1|JDatabaseMySQL]]
 
* [[JDatabaseMySQL::loadObject|Other versions of this method]]
{{SeeAlso:JDatabaseMySQL::loadObject}}
===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabaseMySQL::loadObject
category=JDatabaseMySQL::loadObject
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::loadObject]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:38, 25 March 2017

Joomla 11.1 JDatabaseMySQL::loadObject

Description

This global function loads the first row of a query into an object.


Synopsis

public JDatabaseMySQL::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/mysql.php (line 442)

Referenced by

See also

Examples

Code Examples