API17:JDatabaseMySQLi::loadAssocList
From Joomla! Documentation
JDatabaseMySQLi::loadAssocList
Description
Load a assoc list of database rows.
Synopsis
public JDatabaseMySQLi::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 is empty as sequential list of returned records.
Defined in
libraries/joomla/database/database/mysqli.php (line 407)
- see source code in BitBucket
Referenced by
See also
Examples
Code Examples