Difference between revisions of "JModelList::populateState"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Method to auto-populate the model state. | Method to auto-populate the model state. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
protected function populateState ( | protected function populateState ( | ||
− | $ordering=null | + | $ordering = null, |
− | $direction=null | + | $direction = null |
) | ) | ||
</source> | </source> | ||
Line 34: | Line 32: | ||
* '''Returns''' | * '''Returns''' | ||
* '''Defined''' on line 271 of libraries/joomla/application/component/modellist.php | * '''Defined''' on line 271 of libraries/joomla/application/component/modellist.php | ||
+ | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JModelList::populateState source code''' on [[jplatform:application/component/modellist.php#cl-263|BitBucket]] | * {{JVer|11.1}} '''JModelList::populateState source code''' on [[jplatform:application/component/modellist.php#cl-263|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JModelList | + | * {{JVer|11.1}} Class [[API17:JModelList|JModelList]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Application | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] |
− | * [[JModelList::populateState|Other versions of JModelList::populateState]] | + | * [[API17:JModelList::populateState|Other versions of JModelList::populateState]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JModelList::populateState | category=JModelList::populateState | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 54: | Line 51: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:28, 24 March 2017
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.
JModelList::populateState[edit]
Description[edit]
Method to auto-populate the model state.
protected function populateState (
$ordering = null,
$direction = null
)
Parameter | Type | Default | Description |
---|---|---|---|
$ordering | null | ||
$direction | null |
- Returns
- Defined on line 271 of libraries/joomla/application/component/modellist.php
See also[edit]
- JModelList::populateState source code on BitBucket
- Class JModelList
- Subpackage Application
- Other versions of JModelList::populateState
User contributed notes[edit]
Code Examples[edit]