API17

Difference between revisions of "JApplication::setUserState"

From Joomla! Documentation

m (JoomlaWikiBot moved page JApplication::setUserState/11.1 to API17:JApplication::setUserState without leaving a redirect: Robot: Moved page)
m (→‎User contributed notes: moving preparation)
Line 54: Line 54:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JApplication]][[Category:JApplication::setUserState]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 10:01, 11 May 2013

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.

Joomla 11.1 JApplication::setUserState[edit]

Description[edit]

Sets the value of a user state variable.

Template:Description:JApplication::setUserState [Edit Descripton]

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]

Template:SeeAlso:JApplication::setUserState [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />