API17

Difference between revisions of "JApplication::getUserState"

From Joomla! Documentation

(Layout updates)
m (→‎See also: moving preparation)
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JApplication::getUserState|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JApplication::getUserState|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JApplication::getUserState ($key)
+
public function getUserState ($key)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' mixed The user state.
mixed The user state.
+
* '''Defined''' on line 473 of libraries/joomla/application/application.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/application/application.php (line 473)
 
* see source code in [[jplatform:application/application.php#cl-473|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JApplication::getUserState source code''' on [[jplatform:application/application.php#cl-465|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JApplication|JApplication]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
 +
* [[API17:JApplication::getUserState|Other versions of JApplication::getUserState]]
 +
{{SeeAlso:JApplication::getUserState}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JApplication::getUserState|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JApplication::getUserState|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JApplication/11.1|JApplication]]
+
===User contributed notes===
* [[JApplication::getUserState|Other versions of this method]]
 
{{SeeAlso:JApplication::getUserState}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JApplication]][[Category:JApplication::getUserState]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 19:42, 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::getUserState[edit]

Description[edit]

Gets a user state.

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

public function getUserState ($key)
Parameter Type Default Description
$key string The path of the state.
  • Returns mixed The user state.
  • Defined on line 473 of libraries/joomla/application/application.php
  • Since Joomla 11.1

See also[edit]

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

User contributed notes[edit]

<CodeExamplesForm />