SignupListField
extends Fieldset
in package
implements
InputFilterProviderInterface
Table of Contents
Interfaces
- InputFilterProviderInterface
Properties
- $translator : Translator
Methods
- __construct() : mixed
- getInputFilterSpecification() : array<string|int, mixed>
- fieldDependantRequired() : bool
- Tests if the child field is not empty if the current field has the test value. If so, returns true else false.
Properties
$translator read-only
private
Translator
$translator
Methods
__construct()
public
__construct(Translator $translator) : mixed
Parameters
- $translator : Translator
getInputFilterSpecification()
public
getInputFilterSpecification() : array<string|int, mixed>
Return values
array<string|int, mixed>fieldDependantRequired()
Tests if the child field is not empty if the current field has the test value. If so, returns true else false.
protected
fieldDependantRequired(string $value, array<string|int, mixed> $context, string $child, string $testvalue) : bool
Parameters
- $value : string
-
The value to use for validation
- $context : array<string|int, mixed>
-
The field context
- $child : string
-
The name of the element to test for emptiness
- $testvalue : string