API17

JDatabaseMySQL::loadAssocList

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDatabaseMySQL::loadAssocList[edit]

Description[edit]

Load a assoc list of database rows.


Synopsis[edit]

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[edit]

array If is empty as sequential list of returned records.

Defined in[edit]

libraries/joomla/database/database/mysql.php (line 417)

Referenced by[edit]

See also[edit]

Examples[edit]

Code Examples[edit]