API17

JDatabaseMySQLi::loadObject: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(5 intermediate revisions by 2 users 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:JDatabaseMySQLi::loadObject}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQLi::loadObject|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Synopsis===
===Synopsis===
<source lang="php">
<source lang="php">
public JDatabaseMySQLi->loadObject ($className= 'stdClass')
public JDatabaseMySQLi::loadObject ($className= 'stdClass')
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 28: Line 26:
object
object
===Defined in===
===Defined in===
libraries/joomla/database/database/mysqli.php
libraries/joomla/database/database/mysqli.php (line 432)
* see source code in [[jplatform:database/database/mysqli.php#cl-432|BitBucket]]
===Referenced by===
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQLi::loadObject|Edit See Also]]<nowiki>]</nowiki>
* [[API17:JDatabaseMySQLi|JDatabaseMySQLi]]
</span>
* [[API17:JDatabaseMySQLi::loadObject|Other versions of this method]]
* [[JDatabaseMySQLi/11.1|JDatabaseMySQLi]]
 
* [[JDatabaseMySQLi::loadObject|Other versions of this method]]
{{SeeAlso:JDatabaseMySQLi::loadObject}}
===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabaseMySQLi::loadObject
category=JDatabaseMySQLi::loadObject
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::loadObject]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:41, 25 March 2017

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

Referenced by

See also

Examples

Code Examples