Legacy Documentation
You are using the documentation for version 4.3.8. Go here for the latest version.
Session Library Extension Hooks¶
sessions_end¶
-
sessions_end
($this)¶ Modify the user’s session/member data, also allows for additional session or login methods (ex: log in to other system).
How it’s called:
$this->extensions->call('sessions_end', $this); if ($this->extensions->end_script === TRUE) return;
Parameters: - $this (object) – The current instantiated Session class with all of its variables and functions, use a reference in your functions to modify
Return type: Void
New in version 1.4.0.
sessions_start¶
-
sessions_start
($this)¶ Reset Session class variables, modify default/guest settings, take over whole session check, etc.
How it’s called:
$this->extensions->call('sessions_start', $this); if ($this->extensions->end_script === TRUE) return;
Parameters: - $this (object) – The current instantiated Session class with all of its variables and functions, use a reference in your functions to modify
Return type: Void
New in version 1.4.0.