API17

JDatabaseMySQL::loadAssocList: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Load a assoc list of database rows.  
Load a assoc list of database rows.  


{{subst:Description:JDatabaseMySQL::loadAssocList}}
 


===Synopsis===
===Synopsis===
Line 38: Line 38:
* [[API17:JDatabaseMySQL|JDatabaseMySQL]]
* [[API17:JDatabaseMySQL|JDatabaseMySQL]]
* [[API17:JDatabaseMySQL::loadAssocList|Other versions of this method]]
* [[API17:JDatabaseMySQL::loadAssocList|Other versions of this method]]
{{subst:SeeAlso:JDatabaseMySQL::loadAssocList}}
 
===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabaseMySQL::loadAssocList
category=JDatabaseMySQL::loadAssocList
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:38, 25 March 2017

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