SwitchUserEvent

Read onlyYes
FinalYes

This event is triggered when a "SU" (switch user) action has been triggered

Table of Contents

Methods

__construct()  : mixed
getCurrentUser()  : array<string|int, mixed>
getSessionId()  : string
getTargetUser()  : array<string|int, mixed>

Methods

__construct()

public __construct(string $sessionId, array<string|int, mixed> $targetUser, array<string|int, mixed> $currentUser) : mixed
Parameters
$sessionId : string
$targetUser : array<string|int, mixed>
$currentUser : array<string|int, mixed>

getCurrentUser()

public getCurrentUser() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSessionId()

public getSessionId() : string
Return values
string

getTargetUser()

public getTargetUser() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results