Difference between revisions of "JApplication::setUserState"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public JApplication::setUserState ($key, $value) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 33: | Line 33: | ||
mixed The previous state, if one existed. since 1.5 | mixed The previous state, if one existed. since 1.5 | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/application/application.php | + | libraries/joomla/application/application.php (line 493) |
+ | * see source code in [[jplatform:application/application.php#cl-493|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== |
Revision as of 19:53, 23 April 2011
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.
Template:Description:JApplication::setUserState [Edit Descripton]
Synopsis[edit]
public JApplication::setUserState ($key, $value)
Parameter | Type | Default | Description |
---|---|---|---|
$key | string | The path of the state. | |
$value | string | The value of the variable. |
Returns[edit]
mixed The previous state, if one existed. since 1.5
Defined in[edit]
libraries/joomla/application/application.php (line 493)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JApplication::setUserState
Examples[edit]
<CodeExamplesForm />