API17

API17:JApplication::setUserState

From Joomla! Documentation

Joomla 11.1 JApplication::setUserState

Description

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


User contributed notes

Code Examples