API17

JSession::clear

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 JSession::clear

Description

Unset data from the session store.


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


User contributed notes

Code Examples


Advertisement