JModel::setState
From Joomla! Documentation
Revision as of 19:46, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JModel::setState/11.1 to API17:JModel::setState without leaving a redirect: Robot: Moved page)
Revision as of 19:46, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JModel::setState/11.1 to API17:JModel::setState without leaving a redirect: Robot: Moved page)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 />