[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/libraries/joomla/session/storage/ -> database.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 191 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JSessionStorageDatabase:: (6 methods):
  open()
  close()
  read()
  write()
  destroy()
  gc()


Class: JSessionStorageDatabase  - X-Ref

Database session storage handler for PHP

open($save_path, $session_name)   X-Ref
Open the SessionHandler backend.

param: string  $save_path     The path to the session object.
param: string  $session_name  The name of the session.
return: boolean  True on success, false otherwise.

close()   X-Ref
Close the SessionHandler backend.

return: boolean  True on success, false otherwise.

read($id)   X-Ref
Read the data for a particular session identifier from the SessionHandler backend.

param: string  $id  The session identifier.
return: string  The session data.

write($id, $data)   X-Ref
Write session data to the SessionHandler backend.

param: string  $id    The session identifier.
param: string  $data  The session data.
return: boolean  True on success, false otherwise.

destroy($id)   X-Ref
Destroy the data for a particular session identifier in the SessionHandler backend.

param: string  $id  The session identifier.
return: boolean  True on success, false otherwise.

gc($lifetime = 1440)   X-Ref
Garbage collect stale sessions from the SessionHandler backend.

param: integer  $lifetime  The maximum age of a session.
return: boolean  True on success, false otherwise.



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1