API17

API17:JDatabaseMySQL::loadObject

From Joomla! Documentation

Revision as of 15:04, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JDatabaseMySQL::loadObject

Description

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

{{subst:Description:JDatabaseMySQL::loadObject}}

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

{{subst:SeeAlso:JDatabaseMySQL::loadObject}}

Examples

<CodeExamplesForm />