API17:JApplication::setUserState
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JApplication::setUserState
Description
Sets the value of a user state variable.
Description:JApplication::setUserState [Edit Descripton]
Synopsis
public JApplication::setUserState ($key, $value)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $key | string | The path of the state. | |
| $value | string | The value of the variable. |
Returns
mixed The previous state, if one existed. since 1.5
Defined in
libraries/joomla/application/application.php (line 493)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JApplication::setUserState
Examples
<CodeExamplesForm />
