FormTrait
Table of Contents
Methods
-
onSuccess()
: void
-
createComponentRegistrationForm()
: Form
-
preparePaymentRegions()
: array<int, string>
-
prepareUserTypes()
: array{array, int[], int[]}
-
setFormDefaults()
: void
onSuccess()
public
onSuccess(Form $form, ArrayHash $values) : void
Parameters
-
$form
: Form
-
-
$values
: ArrayHash
-
protected
createComponentRegistrationForm() : Form
preparePaymentRegions()
private
preparePaymentRegions(int|null $langId) : array<int, string>
Parameters
-
$langId
: int|null
-
Return values
array<int, string>
prepareUserTypes()
private
prepareUserTypes(int|null $langId) : array{array, int[], int[]}
Parameters
-
$langId
: int|null
-
Return values
array{array, int[], int[]}
private
setFormDefaults(Form $form) : void
Parameters
-
$form
: Form
-