API16

JModelList: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JModelList}} ===Defined in=== ...
 
Doxiki (talk | contribs)
No edit summary
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 09:58, 30 March 2010

[Edit Descripton] Template:Description:JModelList

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] Template:SeeAlso:JModelList

Examples

<CodeExamplesForm />