Signup
extends Form
in package
implements
InputFilterProviderInterface
Tags
Table of Contents
Interfaces
- InputFilterProviderInterface
Constants
- EXTERNAL_ADMIN = 3
- EXTERNAL_USER = 2
- USER = 1
Properties
- $signupList : SignupList
- $type : int
Methods
- __construct() : mixed
- getInputFilterSpecification() : array<string|int, mixed>
- Apparently, validators are automatically added, so this works.
- getType() : int
- initialiseExternalAdminForm() : void
- Initialize the form for external subscriptions by admin, i.e. set the language and the fields Add every field in $signupList to the form.
- initialiseExternalForm() : void
- initialiseForm() : void
- Initialize the form, i.e. set the language and the fields Add every field in $signupList to the form.
- createSignupFieldElementArray() : array<string|int, mixed>
- Creates an array of the form element specification for the given $field, to be used by the factory.
Constants
EXTERNAL_ADMIN
public
mixed
EXTERNAL_ADMIN
= 3
EXTERNAL_USER
public
mixed
EXTERNAL_USER
= 2
USER
public
mixed
USER
= 1
Properties
$signupList
protected
SignupList
$signupList
$type
protected
int
$type
Methods
__construct()
public
__construct() : mixed
getInputFilterSpecification()
Apparently, validators are automatically added, so this works.
public
getInputFilterSpecification() : array<string|int, mixed>
Return values
array<string|int, mixed>getType()
public
getType() : int
Return values
intinitialiseExternalAdminForm()
Initialize the form for external subscriptions by admin, i.e. set the language and the fields Add every field in $signupList to the form.
public
initialiseExternalAdminForm(SignupList $signupList) : void
Parameters
- $signupList : SignupList
initialiseExternalForm()
public
initialiseExternalForm(SignupList $signupList) : void
Parameters
- $signupList : SignupList
initialiseForm()
Initialize the form, i.e. set the language and the fields Add every field in $signupList to the form.
public
initialiseForm(SignupList $signupList) : void
Parameters
- $signupList : SignupList
createSignupFieldElementArray()
Creates an array of the form element specification for the given $field, to be used by the factory.
protected
createSignupFieldElementArray(SignupField $field) : array<string|int, mixed>
Parameters
- $field : SignupField