class ProfileFormCreator extends ModelFormCreator

Form creator to allow users to edit their profiles

Methods

setEditingSelf(bool $editingSelf)

Set whether the player is editing their own profile

void
update(Form $form, $player)

Update a model based on a form's data

Details

at line line 37
setEditingSelf(bool $editingSelf)

Set whether the player is editing their own profile

Parameters

bool $editingSelf True if the player is editing their own profile, false if an admin is editing the player

at line line 125
void update(Form $form, $player)

Update a model based on a form's data

Override this in your form

Parameters

Form $form The form to use
$player

Return Value

void