Actions

API17

JSession::has

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JSession::has

Description

Check whether data exists in the session store.

Description:JSession::has [Edit Descripton]

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

SeeAlso:JSession::has [Edit See Also]

User contributed notes

<CodeExamplesForm />