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

__construct(string $id, string $name)

BaseField constructor.

from BaseField
getId()

No description

from BaseField
getName()

No description

from BaseField
setName(string $name)

No description

from BaseField
isRequired()

No description

from BaseField
setRequired(bool $required)

No description

from BaseField
isLocalized()

No description

from BaseField
setLocalized(bool $localized)

No description

from BaseField
isDisabled()

No description

from BaseField
setDisabled(bool $disabled)

No description

from BaseField
isOmitted()

No description

from BaseField
setOmitted(bool $omitted)

No description

from BaseField
getValidations()

No description

from BaseField
setValidations(array $validations)

No description

from BaseField
addValidation(ValidationInterface $validation)

No description

from BaseField
jsonSerialize()

{@inheritdoc}

from BaseField
getType()

No description

Details

in BaseField at line 73
__construct(string $id, string $name)

BaseField constructor.

Parameters

string $id
string $name

in BaseField at line 79
getId()

in BaseField at line 84
getName()

in BaseField at line 92
FieldInterface setName(string $name)

Parameters

string $name

Return Value

FieldInterface

in BaseField at line 99
isRequired()

in BaseField at line 107
FieldInterface setRequired(bool $required)

Parameters

bool $required

Return Value

FieldInterface

in BaseField at line 114
isLocalized()

in BaseField at line 122
FieldInterface setLocalized(bool $localized)

Parameters

bool $localized

Return Value

FieldInterface

in BaseField at line 129
isDisabled()

in BaseField at line 137
FieldInterface setDisabled(bool $disabled)

Parameters

bool $disabled

Return Value

FieldInterface

in BaseField at line 144
isOmitted()

in BaseField at line 152
FieldInterface setOmitted(bool $omitted)

Parameters

bool $omitted

Return Value

FieldInterface

in BaseField at line 162
ValidationInterface[] getValidations()

Return Value

ValidationInterface[]

in BaseField at line 172
FieldInterface setValidations(array $validations)

Parameters

array $validations

Return Value

FieldInterface

in BaseField at line 184
FieldInterface addValidation(ValidationInterface $validation)

Parameters

ValidationInterface $validation

Return Value

FieldInterface

in BaseField at line 198
jsonSerialize()

{@inheritdoc}

at line 19
getType()