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>

Revision as of 04:58, 30 March 2010

The "API16" 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.

[Edit Descripton] Template:Description:JModelList

Defined in[edit]

libraries/joomla/application/component/modellist.php

Methods[edit]

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

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

[Edit See Also] Template:SeeAlso:JModelList

Examples[edit]

<CodeExamplesForm />