Moodle  2.2.1
http://www.collinsharper.com
session_stub Class Reference
Inheritance diagram for session_stub:
Collaboration diagram for session_stub:

Public Member Functions

 __construct ()
 terminate_current ()
 write_close ()

Protected Member Functions

 check_user_initialised ()
 check_security ()
 prepare_cookies ()
 init_session_storage ()

Protected Attributes

 $justloggedout

Detailed Description

Definition at line 162 of file sessionlib.php.


Constructor & Destructor Documentation

Reimplemented in database_session.

Definition at line 165 of file sessionlib.php.

Here is the call graph for this function:


Member Function Documentation

check_security ( ) [protected]

Does various session security checks void

Make sure current IP matches the one for this session

Definition at line 303 of file sessionlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

check_user_initialised ( ) [protected]

Initialise $USER object, handles google access and sets up not logged in user properly.

Returns:
void

Definition at line 263 of file sessionlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

init_session_storage ( ) [abstract, protected]

Init session storage.

Reimplemented in database_session, and legacy_file_session.

Here is the caller graph for this function:

prepare_cookies ( ) [protected]

Prepare cookies and various system settings

Set sessioncookie and sessioncookiepath variable if it isn't already

Definition at line 329 of file sessionlib.php.

Here is the caller graph for this function:

Terminate current session

Returns:
void

Implements moodle_session.

Definition at line 205 of file sessionlib.php.

Here is the caller graph for this function:

No more changes in session expected. Unblocks the sessions, other scripts may start executing in parallel.

Returns:
void

Implements moodle_session.

Definition at line 249 of file sessionlib.php.


Field Documentation

$justloggedout [protected]

Definition at line 163 of file sessionlib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations