DateField
class DateField extends BaseField
DateField class.
Properties
protected string | $id | ID of the Field. | from BaseField |
protected string | $name | Name of the Field. | from BaseField |
protected bool | $required | Describes whether the Field is mandatory. | from BaseField |
protected bool | $localized | Describes whether the Field is localized. | from BaseField |
protected bool | $disabled | Describes whether the Field is disabled. | from BaseField |
protected bool | $omitted | True if the field is omitted from CDA responses. | from BaseField |
protected ValidationInterface[] | $validations | from BaseField |
Methods
getType()
No description
Details
in BaseField at line 73
__construct(string $id, string $name)
BaseField constructor.
in BaseField at line 79
getId()
in BaseField at line 84
getName()
in BaseField at line 92
FieldInterface
setName(string $name)
in BaseField at line 99
isRequired()
in BaseField at line 107
FieldInterface
setRequired(bool $required)
in BaseField at line 114
isLocalized()
in BaseField at line 122
FieldInterface
setLocalized(bool $localized)
in BaseField at line 129
isDisabled()
in BaseField at line 137
FieldInterface
setDisabled(bool $disabled)
in BaseField at line 144
isOmitted()
in BaseField at line 152
FieldInterface
setOmitted(bool $omitted)
in BaseField at line 162
ValidationInterface[]
getValidations()
in BaseField at line 172
FieldInterface
setValidations(array $validations)
in BaseField at line 184
FieldInterface
addValidation(ValidationInterface $validation)
in BaseField at line 198
jsonSerialize()
{@inheritdoc}