API17

API17:JDatabaseMySQL::loadObject

From Joomla! Documentation

Revision as of 02:38, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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