JDatabase::loadAssocList/1.6
From Joomla! Documentation
JDatabase::loadAssocList
Description
Load a associactive list of database rows.
Description:JDatabase::loadAssocList [Edit Descripton]
public function loadAssocList ( $key=null $column=null )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $key | string | null | The field name of a primary key |
| $column | string | null | An optional column name. Instead of the whole row, only this column value will be in the return array. |
- Returns array If key is empty as sequential list of returned records.
- Defined on line 669 of libraries/joomla/database/database.php
See also
JDatabase source code on JoomlaCode
Class JDatabase
Subpackage Database- Other versions of JDatabase::loadAssocList
SeeAlso:JDatabase::loadAssocList [Edit See Also]