|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct (Zend_Service_WindowsAzure_Storage_Table $tableStorage, $sessionTable= 'phpsessions', $sessionTablePartition= 'sessions') | |
| register () | |
| open () | |
| close () | |
| read ($id) | |
| write ($id, $serializedData) | |
| destroy ($id) | |
| gc ($lifeTime) | |
Protected Attributes | |
| $_tableStorage | |
| $_sessionTable | |
| $_sessionTablePartition | |
Definition at line 38 of file SessionHandler.php.
| __construct | ( | Zend_Service_WindowsAzure_Storage_Table $ | tableStorage, |
| $ | sessionTable = 'phpsessions', |
||
| $ | sessionTablePartition = 'sessions' |
||
| ) |
Creates a new Zend_Service_WindowsAzure_SessionHandler instance
| Zend_Service_WindowsAzure_Storage_Table | $tableStorage | Table storage |
| string | $sessionTable | Session table name |
| string | $sessionTablePartition | Session table partition |
Definition at line 68 of file SessionHandler.php.
| close | ( | ) |
| destroy | ( | $ | id | ) |
Destroy a specific session
| int | $id | Session Id |
Definition at line 172 of file SessionHandler.php.
| gc | ( | $ | lifeTime | ) |
Garbage collector
| int | $lifeTime | Session maximal lifetime |
Definition at line 201 of file SessionHandler.php.
| open | ( | ) |
| read | ( | $ | id | ) |
Read a specific session
| int | $id | Session Id |
Definition at line 125 of file SessionHandler.php.
| register | ( | ) |
Registers the current session handler as PHP's session handler
Definition at line 81 of file SessionHandler.php.
| write | ( | $ | id, |
| $ | serializedData | ||
| ) |
Write a specific session
Definition at line 148 of file SessionHandler.php.
$_sessionTable [protected] |
Definition at line 52 of file SessionHandler.php.
$_sessionTablePartition [protected] |
Definition at line 59 of file SessionHandler.php.
$_tableStorage [protected] |
Definition at line 45 of file SessionHandler.php.