Actions

API17

Difference between revisions of "JModel:: getList"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
protected JModel->_getList ($query, $limitstart=0, $limit=0)
+
protected JModel::_getList ($query, $limitstart=0, $limit=0)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 40: Line 40:
 
array An array of results.
 
array An array of results.
 
===Defined in===
 
===Defined in===
libraries/joomla/application/component/model.php
+
libraries/joomla/application/component/model.php (line 254)
 +
* see source code in [[jplatform:application/component/model.php#cl-254|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:58, 23 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JModel::_getList

Description

Gets an array of objects from the results of database query.

Description:JModel:: getList [Edit Descripton]

Since

Joomla 11.1

Synopsis

protected JModel::_getList ($query, $limitstart=0, $limit=0)
Parameter Type Default Description
$query string The query.
$limitstart int 0 Offset.
$limit int 0 The number of records.

Returns

array An array of results.

Defined in

libraries/joomla/application/component/model.php (line 254)

Referenced by

See also

[Edit See Also]

SeeAlso:JModel:: getList

Examples

<CodeExamplesForm />