Documentation

Activity extends Localisable
in package
implements InputFilterProviderInterface

A form which provides the basic structure for forms that utilise a model's {@link \Application\Model\LocalisedText}.

Table of Contents

Interfaces

InputFilterProviderInterface

Properties

$translator  : Translator

Methods

__construct()  : mixed
beforeBeginTime()  : bool
Checks if a certain date is before the begin date of the activity.
beforeEndTime()  : bool
Check if a certain date is before the end date of the activity.
getInputFilterSpecification()  : array<string|int, mixed>
Get the input filter. Will generate a different inputfilter depending on if the Dutch and/or English language is set.
getTranslator()  : Translator
isValid()  : bool
Validate the form.
setAllOptions()  : Activity
createLocalisedInputFilterSpecification()  : array<string|int, mixed>
Create an {@link \Laminas\InputFilter\InputFilter} for a specific language.

Properties

$translator read-only

private Translator $translator

Methods

__construct()

public __construct(Translator $translator) : mixed
Parameters
$translator : Translator

beforeBeginTime()

Checks if a certain date is before the begin date of the activity.

public static beforeBeginTime(string $value[, array<string|int, mixed> $context = [] ]) : bool
Parameters
$value : string
$context : array<string|int, mixed> = []
Tags
phpcsSuppress

SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification

Return values
bool

beforeEndTime()

Check if a certain date is before the end date of the activity.

public static beforeEndTime(string $value[, array<string|int, mixed> $context = [] ]) : bool
Parameters
$value : string
$context : array<string|int, mixed> = []
Tags
phpcsSuppress

SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification

Return values
bool

getInputFilterSpecification()

Get the input filter. Will generate a different inputfilter depending on if the Dutch and/or English language is set.

public getInputFilterSpecification() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTranslator()

public getTranslator() : Translator
Return values
Translator

isValid()

Validate the form.

public isValid() : bool
Tags
throws
DomainException
Return values
bool

createLocalisedInputFilterSpecification()

Create an {@link \Laminas\InputFilter\InputFilter} for a specific language.

protected createLocalisedInputFilterSpecification([string $suffix = '' ]) : array<string|int, mixed>
Parameters
$suffix : string = ''

For languages that are not Dutch, a suffix should be specified (English: 'En').

Tags
inheritDoc
Return values
array<string|int, mixed>

        
On this page

Search results