JApplication::getUserState
Gets a user state.
Signature
public function getUserState(string
$key,
[mixed
$default = null] )
Parameters
-
$key
- The path of the state.
-
$default
- Optional default value, returned if the internal value is null.
Returns
- mixed
- The user state or null.