class AdminFormValidation extends AbstractUserFormValidation

Class AdminFormValidation

Properties

protected Translator $translator from AbstractFormValidation
protected Validator $validator from AbstractFormValidation
protected int $userId

Methods

__construct(Translator $translator, Validator $validator)

No description

validate(array $formData)

No description

validateNewPassword(array $formData, string $passwordField, string $passwordConfirmationField)

No description

validatePassword(array $formData, string $passwordField, string $passwordConfirmationField)

No description

validateAccountCoreData(array $formData, int $userId)

No description

validateUserSettings(array $formData)

No description

$this
setUserId(int $userId)

No description

Details

__construct(Translator $translator, Validator $validator)

Parameters

Translator $translator
Validator $validator

at line 32
validate(array $formData)

Parameters

array $formData

protected validateNewPassword(array $formData, string $passwordField, string $passwordConfirmationField)

Parameters

array $formData
string $passwordField
string $passwordConfirmationField

protected validatePassword(array $formData, string $passwordField, string $passwordConfirmationField)

Parameters

array $formData
string $passwordField
string $passwordConfirmationField

protected validateAccountCoreData(array $formData, int $userId)

Parameters

array $formData
int $userId

protected validateUserSettings(array $formData)

Parameters

array $formData

at line 23
$this setUserId(int $userId)

Parameters

int $userId

Return Value

$this