API17:JSession::has
From Joomla! Documentation
JSession::has
Description
Check whether data exists in the session store.
public function has (
$name
$namespace= 'default'
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | Name of variable | |
| $namespace | string | 'default' | Namespace to use, default to 'default' |
- Returns boolean True if the variable exists
- Defined on line 356 of libraries/joomla/session/session.php
See also
JSession::has source code on BitBucket
Class JSession
Subpackage Session- Other versions of JSession::has
User contributed notes
Code Examples