API17:JDatabase::loadObjectList
From Joomla! Documentation
JDatabase::loadObjectList
Description
Load a list of database objects.
Template:Description:JDatabase::loadObjectList [Edit Descripton]
Synopsis
public JDatabase->loadObjectList ($key='')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $key | string | The field name of a primary key |
Returns
array If is empty as sequential list of returned records. If is not empty then the returned array is indexed by the value the database key. Returns if the query fails.
Defined in
libraries/joomla/database/database.php
Referenced by
See also
Template:SeeAlso:JDatabase::loadObjectList
Examples
<CodeExamplesForm />