Actions

API16

Difference between revisions of "JModelList"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JModelList}} ===Defined in=== ...)
 
 
Line 21: Line 21:
 
|Method to get the total number of items for the data set.
 
|Method to get the total number of items for the data set.
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.application.component.modellist' );</source>
 
<source lang="php">jimport( 'joomla.application.component.modellist' );</source>

Latest revision as of 04:58, 30 March 2010

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.

[Edit Descripton] Description:JModelList

Contents

Defined in

libraries/joomla/application/component/modellist.php

Methods

Method name Description
getItems Method to get an array of data items.
getPagination Method to get a JPagination object for the data set.
getTotal Method to get the total number of items for the data set.

Importing

jimport( 'joomla.application.component.modellist' );

[Edit See Also] SeeAlso:JModelList

Examples

<CodeExamplesForm />