JSession::clear
From Joomla! Documentation
Revision as of 20:40, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JSession::clear/11.1 to API17:JSession::clear without leaving a redirect: Robot: Moved page)
Revision as of 20:40, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JSession::clear/11.1 to API17:JSession::clear without leaving a redirect: Robot: Moved page)
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.
JSession::clear[edit]
Description[edit]
Unset data from the session store.
Template:Description:JSession::clear [Edit Descripton]
public function clear (
$name
$namespace= 'default'
)
Parameter | Type | Default | Description |
---|---|---|---|
$name | string | Name of variable | |
$namespace | string | 'default' | Namespace to use, default to 'default' |
- Returns mixed The value from session or NULL if not set
- Defined on line 375 of libraries/joomla/session/session.php
See also[edit]
- JSession::clear source code on BitBucket
- Class JSession
- Subpackage Session
- Other versions of JSession::clear
Template:SeeAlso:JSession::clear [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />