Class JSessionStorageDatabase

Description

Database session storage handler for PHP

Located in /libraries/joomla/session/storage/database.php (line 20)

JObject
   |
   --JSessionStorage
      |
      --JSessionStorageDatabase
Method Summary
boolean destroy (string $id)
boolean gc ([integer $lifetime = 1440])
string read (string $id)
boolean write (string $id, string $data)
Variables

Inherited Variables

Inherited from JSessionStorage

JSessionStorage::$instances

Inherited from JObject

JObject::$_errors
Methods
destroy (line 123)

Destroy the data for a particular session identifier in the SessionHandler backend.

  • return: True on success, false otherwise.
  • since: 11.1
  • access: public
boolean destroy (string $id)
  • string $id: The session identifier.

Redefinition of:
JSessionStorage::destroy()
Destroy the data for a particular session identifier in the SessionHandler backend.
gc (line 158)

Garbage collect stale sessions from the SessionHandler backend.

  • return: True on success, false otherwise.
  • since: 11.1
  • access: public
boolean gc ([integer $lifetime = 1440])
  • integer $lifetime: The maximum age of a session.

Redefinition of:
JSessionStorage::gc()
Garbage collect stale sessions from the SessionHandler backend.
read (line 31)

Read the data for a particular session identifier from the SessionHandler backend.

  • return: The session data.
  • since: 11.1
  • access: public
string read (string $id)
  • string $id: The session identifier.

Redefinition of:
JSessionStorage::read()
Read the data for a particular session identifier from the SessionHandler backend.
write (line 68)

Write session data to the SessionHandler backend.

  • return: True on success, false otherwise.
  • since: 11.1
  • access: public
boolean write (string $id, string $data)
  • string $id: The session identifier.
  • string $data: The session data.

Redefinition of:
JSessionStorage::write()
Write session data to the SessionHandler backend.

Inherited Methods

Inherited From JSessionStorage

JSessionStorage::__construct()
JSessionStorage::close()
JSessionStorage::destroy()
JSessionStorage::gc()
JSessionStorage::getInstance()
JSessionStorage::open()
JSessionStorage::read()
JSessionStorage::register()
JSessionStorage::test()
JSessionStorage::write()

Inherited From JObject

JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 13:53:58 -0500 by phpDocumentor 1.4.4