class ProfileController extends HTMLController

Methods

void
setup()

Method that will be called before any action

array
editAction(Player $me, Request $request, bool $self = true)

Edit a profile

confirmAction(Player $me, $token)

No description

showAction(Player $me)

No description

Details

at line line 9
void setup()

Method that will be called before any action

Return Value

void

at line line 24
array editAction(Player $me, Request $request, bool $self = true)

Edit a profile

Parameters

Player $me The player's profile to edit
Request $request
bool $self Whether a player is editing their own profile, instead of an admin editing another player's profile

Return Value

array

at line line 70
confirmAction(Player $me, $token)

Parameters

Player $me
$token

at line line 91
showAction(Player $me)

Parameters

Player $me