|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct () | |
| session_exists ($sid) | |
| handler_open ($save_path, $session_name) | |
| handler_close () | |
| handler_read ($sid) | |
| handler_write ($sid, $session_data) | |
| handler_destroy ($sid) | |
| handler_gc ($ignored_maxlifetime) | |
Protected Member Functions | |
| init_session_storage () | |
Protected Attributes | |
| $record = null | |
| $database = null | |
| $failed = false | |
Definition at line 460 of file sessionlib.php.
| __construct | ( | ) |
Reimplemented from session_stub.
Definition at line 470 of file sessionlib.php.

| handler_close | ( | ) |
| handler_destroy | ( | $ | sid | ) |
Destroy session handler
{
| string | $sid |
Definition at line 749 of file sessionlib.php.

| handler_gc | ( | $ | ignored_maxlifetime | ) |
GC session handler
{
| int | $ignored_maxlifetime | moodle uses special timeout rules |
Definition at line 772 of file sessionlib.php.

| handler_open | ( | $ | save_path, |
| $ | session_name | ||
| ) |
Open session handler
{
| string | $save_path | |
| string | $session_name |
Definition at line 534 of file sessionlib.php.
| handler_read | ( | $ | sid | ) |
Read session handler
{
| string | $sid |
Definition at line 565 of file sessionlib.php.

| handler_write | ( | $ | sid, |
| $ | session_data | ||
| ) |
Write session handler.
{
NOTE: Do not write to output or throw any exceptions! Hopefully the next page is going to display nice error or it recovers...
| string | $sid | |
| string | $session_data |
Definition at line 669 of file sessionlib.php.

| init_session_storage | ( | ) | [protected] |
Init session storage.
Reimplemented from session_stub.
Definition at line 506 of file sessionlib.php.

| session_exists | ( | $ | sid | ) |
Check for existing session with id $sid
| unknown_type | $sid |
Implements moodle_session.
Definition at line 490 of file sessionlib.php.
$database = null [protected] |
Definition at line 465 of file sessionlib.php.
$failed = false [protected] |
Definition at line 468 of file sessionlib.php.
$record = null [protected] |
Definition at line 462 of file sessionlib.php.