JModelList: Difference between revisions
From Joomla! Documentation
No edit summary |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JModelList}} | |||
{{Description:JModelList}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 25: | Line 22: | ||
<source lang="php">jimport( 'joomla.application.component.modellist' );</source> | <source lang="php">jimport( 'joomla.application.component.modellist' );</source> | ||
{{subst:SeeAlso:JModelList}} | |||
{{SeeAlso:JModelList}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:15, 24 March 2017
{{subst: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' );
{{subst:SeeAlso:JModelList}}
Examples
<CodeExamplesForm />