JDatabase::loadObjectList: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
public | public JDatabase::loadObjectList ($key='') | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 28: | Line 28: | ||
array If is empty as sequential list of returned records. If is not empty then the returned array is indexed by the value the database key. Returns if the query fails. | array If is empty as sequential list of returned records. If is not empty then the returned array is indexed by the value the database key. Returns if the query fails. | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/database/database.php | libraries/joomla/database/database.php (line 687) | ||
* see source code in [[jplatform:database/database.php#cl-687|BitBucket]] | |||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 01:11, 24 April 2011
JDatabase::loadObjectList
Description
Load a list of database objects.
Template:Description:JDatabase::loadObjectList [Edit Descripton]
Synopsis
public JDatabase::loadObjectList ($key='')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $key | string | The field name of a primary key |
Returns
array If is empty as sequential list of returned records. If is not empty then the returned array is indexed by the value the database key. Returns if the query fails.
Defined in
libraries/joomla/database/database.php (line 687)
- see source code in BitBucket
Referenced by
See also
Template:SeeAlso:JDatabase::loadObjectList
Examples
<CodeExamplesForm />