JModel::setState
From Joomla! Documentation
Revision as of 16:52, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→User contributed notes: moving preparation)
Revision as of 16:52, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→User contributed notes: moving preparation)
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::setState[edit]
Description[edit]
Method to set model state variables.
Template:Description:JModel::setState [Edit Descripton]
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[edit]
- JModel::setState source code on BitBucket
- Class JModel
- Subpackage Application
- Other versions of JModel::setState
Template:SeeAlso:JModel::setState [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />