JModel::getState
From Joomla! Documentation
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.
JModel::getState[edit]
Description[edit]
Method to get model state variables.
Template:Description:JModel::getState [Edit Descripton]
public function getState (
$property=null
$default=null
)
Parameter | Type | Default | Description |
---|---|---|---|
$property | string | null | Optional parameter name |
$default | mixed | null | Optional default value |
- Returns object The property where specified, the state object where omitted
- Defined on line 346 of libraries/joomla/application/component/model.php
- Since
- Referenced by
See also[edit]
- JModel::getState source code on BitBucket
- Class JModel
- Subpackage Application
- Other versions of JModel::getState
Template:SeeAlso:JModel::getState [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />