API17:JDatabase::loadAssocList
From Joomla! Documentation
JDatabase::loadAssocList
Description
Method to get an array of the result set rows from the database query where each row is an associative array of ['field_name' => 'row_value'].
public function loadAssocList (
$key=null
$column=null
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $key | null | ||
| $column | null |
- Returns
- Defined on line 573 of libraries/joomla/database/database.php
See also
JDatabase::loadAssocList source code on BitBucket
Class JDatabase
Subpackage Database- Other versions of JDatabase::loadAssocList
User contributed notes
Code Examples