API17

API17:JDatabaseMySQL::loadAssocList

From Joomla! Documentation

Joomla 11.1 JDatabaseMySQL::loadAssocList

Description

Load a assoc list of database rows.


Synopsis

public JDatabaseMySQL::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/mysql.php (line 417)

Referenced by

See also

Examples

Code Examples