API17

API17:JModelList

From Joomla! Documentation

Revision as of 23:00, 23 April 2011 by Doxiki2 (talk | contribs) (Layout updates)

[Edit Descripton] Template:Description:JModelList

Defined in

libraries/joomla/application/component/modellist.php

Subpackage

Application

Extends

JModel

Extended by

Methods

Method name Description
__construct Constructor.
getItems Method to get an array of data items.
getPagination Method to get a object for the data set.
getstart Method to get the starting number of items for the data set.
getTotal Method to get the total number of items for the data set.
getUserStateFromRequest Gets the value of a user state variable and sets it in the session This is the same as the method in except that this also can optionally force you back to the first page when a filter has changed.
getListQuery Method to get a object for retrieving the data set from a database.
getStoreId Method to get a store id based on the model configuration state.
populateState Method to auto-populate the model state.

Importing

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

See also

Template:SeeAlso:JModelList [Edit See Also]

Examples

<CodeExamplesForm />