API17

API17:JDatabaseMySQLi::loadObject

From Joomla! Documentation

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