API16:JDatabase/loadObjectList
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Contents |
Description
Load a list of database objects
Description:JDatabase/loadObjectList
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
[Edit See Also] SeeAlso:JDatabase/loadObjectList
Examples
<CodeExamplesForm />
