API16

API16:JDatabase/loadObjectList

From Joomla! Documentation

Description

Load a list of database objects


<! removed transcluded page call, red link never existed >

Syntax

loadObjectList($key='')
Parameter Name Default Value Description
$key The field name of a primary key

Returns

array If $key is empty as sequential list of returned records. If $key is not empty then the returned array is indexed by the value the database key. Returns null if the query fails.

Defined in

libraries/joomla/database/database.php

Importing

jimport( 'joomla.database.database' );

Source Body


<! removed transcluded page call, red link never existed >

Examples

Code Examples