ActivityCalendarOption
extends Fieldset
in package
implements
InputFilterProviderInterface
Table of Contents
Interfaces
- InputFilterProviderInterface
Properties
- $calendarFormService : ActivityCalendarForm
- $translator : Translator
Methods
- __construct() : mixed
- beforeEndTime() : bool
- Check if a certain date is before the end date of the option.
- getInputFilterSpecification() : array<string|int, mixed>
- isFutureTime() : bool
- Check if a certain date is in the future.
Properties
$calendarFormService read-only
private
ActivityCalendarForm
$calendarFormService
$translator read-only
private
Translator
$translator
Methods
__construct()
public
__construct(Translator $translator, ActivityCalendarForm $calendarFormService) : mixed
Parameters
- $translator : Translator
- $calendarFormService : ActivityCalendarForm
beforeEndTime()
Check if a certain date is before the end date of the option.
public
beforeEndTime(string $value[, array<string|int, mixed> $context = [] ]) : bool
Parameters
- $value : string
- $context : array<string|int, mixed> = []
Tags
Return values
boolgetInputFilterSpecification()
public
getInputFilterSpecification() : array<string|int, mixed>
Return values
array<string|int, mixed>isFutureTime()
Check if a certain date is in the future.
public
isFutureTime(string $value) : bool
Parameters
- $value : string