MIDDAG for Moodle

session_support extends facade

Facade for local_middag\framework\support\moodle\session_support.

Tags
see
session_support
mixin

Table of Contents

Methods

confirm_sesskey()  : bool
destroy_user_sessions()  : void
get_facade_accessor()  : string
Return the service accessor key for this facade.
get_id()  : string
get_wants_url()  : string|null
require_sesskey()  : void
sesskey()  : string
set_user()  : void
unset_wants_url()  : void

Methods

confirm_sesskey()

public static confirm_sesskey([string|null $sesskey = = 'null' ]) : bool
Parameters
$sesskey : string|null = = 'null'
Return values
bool

destroy_user_sessions()

public static destroy_user_sessions(int $userid[, string $except = = '\'\'' ]) : void
Parameters
$userid : int
$except : string = = '\'\''

get_facade_accessor()

Return the service accessor key for this facade.

public static get_facade_accessor() : string
Return values
string

get_wants_url()

public static get_wants_url() : string|null
Return values
string|null

set_user()

public static set_user(stdClass $user) : void
Parameters
$user : stdClass

        
On this page

Search results