Actions

API17

JSession::getInstance

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::getInstance

Description

Returns the global Session object, only creating it if it doesn't already exist.

Description:JSession::getInstance [Edit Descripton]

public static function getInstance (
        $handler
        $options
)
Parameter Type Default Description
$handler
$options
  • Returns The Session object.
  • Defined on line 129 of libraries/joomla/session/session.php
  • Since Joomla 11.1

See also

  • Joomla 11.1 JSession::getInstance source code on BitBucket
  • Joomla 11.1 Class JSession
  • Joomla 11.1 Subpackage Session
  • Other versions of JSession::getInstance

SeeAlso:JSession::getInstance [Edit See Also]

User contributed notes

<CodeExamplesForm />