JApplication::setUserState
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.
JApplication::setUserState[edit]
Description[edit]
Sets the value of a user state variable.
public function 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 on line 493 of libraries/joomla/application/application.php
See also[edit]
- JApplication::setUserState source code on BitBucket
- Class JApplication
- Subpackage Application
- Other versions of JApplication::setUserState
User contributed notes[edit]
Code Examples[edit]