API17:JModel::setState
From Joomla! Documentation
JModel::setState
Description
Method to set model state variables.
public function setState (
$property
$value=null
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $property | string | The name of the property | |
| $value | mixed | null | The value of the property to set |
- Returns mixed The previous value of the property
- Defined on line 422 of libraries/joomla/application/component/model.php
- Since

See also
JModel::setState source code on BitBucket
Class JModel
Subpackage Application- Other versions of JModel::setState
User contributed notes
Code Examples