JModelList: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 6: | Line 6: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/application/component/modellist.php | libraries/joomla/application/component/modellist.php | ||
* see source code in [[jplatform:application/component/modellist.php|BitBucket]] | |||
===Subpackage=== | ===Subpackage=== | ||
[[Subpackage Application/11.1|Application]] | [[Subpackage Application/11.1|Application]] | ||
| Line 48: | Line 49: | ||
<source lang="php">jimport( 'joomla.application.component.modellist' );</source> | <source lang="php">jimport( 'joomla.application.component.modellist' );</source> | ||
===See also=== | ===See also=== | ||
* JModelList source code in [[jplatform:application/component/modellist.php|BitBucket]] | |||
* [[JModelList|Other versions of this class]] | * [[JModelList|Other versions of this class]] | ||
{{SeeAlso:JModelList}} | {{SeeAlso:JModelList}} | ||
Revision as of 23:00, 23 April 2011
[Edit Descripton] Template:Description:JModelList
Defined in
libraries/joomla/application/component/modellist.php
- see source code in BitBucket
Subpackage
Extends
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
- JModelList source code in BitBucket
- Other versions of this class
Template:SeeAlso:JModelList [Edit See Also]
Examples
<CodeExamplesForm />