MetaFox

AccountInfoSettingForm extends AbstractForm
in package
Uses GenderTrait, MfaFieldTrait

Class AccountInfoSettingForm.

Tags
driverType

form

driverName

user.update.basic_info

SuppressWarnings

(PHPMD.CouplingBetweenObjects)

SuppressWarnings

(PHPMD.ExcessiveMethodLength)

Table of Contents

Properties

$resource  : User

Methods

applyMfaRequiredEmailField()  : void
applyMfaRequiredPhoneField()  : void
boot()  : void
getCityCode()  : array<string|int, mixed>|null
initialize()  : void
addRequiredToField()  : void
addRequiredValidator()  : void
buildRoleField()  : FormField|null
getEmailField()  : AbstractField
getPasswordValidate()  : StringShape
getPhoneField()  : AbstractField
hasRoleField()  : bool
isServiceEnabled()  : bool
prepare()  : void
userMfaResource()  : User
buildProfilePictureField()  : mixed
getDefaultValue()  : array<string|int, mixed>

Properties

Methods

applyMfaRequiredEmailField()

public applyMfaRequiredEmailField(AbstractField $field) : void
Parameters
$field : AbstractField

applyMfaRequiredPhoneField()

public applyMfaRequiredPhoneField(AbstractField $field) : void
Parameters
$field : AbstractField

addRequiredToField()

protected addRequiredToField(AbstractField $field, string $service) : void
Parameters
$field : AbstractField
$service : string

addRequiredValidator()

protected addRequiredValidator(AbstractField $field, string $service) : void
Parameters
$field : AbstractField
$service : string

isServiceEnabled()

protected isServiceEnabled(string $service) : bool
Parameters
$service : string
Return values
bool

buildProfilePictureField()

private buildProfilePictureField(Section $basic) : mixed
Parameters
$basic : Section

getDefaultValue()

private getDefaultValue() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results