API17

JModelList

From Joomla! Documentation

Revision as of 18:06, 27 April 2011 by Doxiki2 (talk | contribs) (Updated to r1448:247ba8d88526)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Joomla 11.1 JModelList[edit]

Description[edit]

Template:Description:JModelList [Edit Descripton]

Methods[edit]

Visibility Method name Description
public __construct Constructor.
public getItems Method to get an array of data items.
public getPagination Method to get a object for the data set.
public getstart Method to get the starting number of items for the data set.
public getTotal Method to get the total number of items for the data set.
public 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.
protected getListQuery Method to get a object for retrieving the data set from a database.
protected getStoreId Method to get a store id based on the model configuration state.
protected populateState Method to auto-populate the model state.
  • Defined in libraries/joomla/application/component/modellist.php
  • Extends JModel

Importing[edit]

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

See also[edit]

Template:SeeAlso:JModelList [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />