ArrayField
class ArrayField extends BaseField
ArrayField class.
Constants
VALID_ITEM_TYPES |
|
VALID_LINK_TYPES |
|
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, string $itemsType, string $itemsLinkType = null)
ArrayField constructor.
jsonSerialize()
{@inheritdoc}
getType()
No description
getItemsType()
No description
setItemsType(string $itemsType)
No description
string|null
getItemsLinkType()
No description
setItemsLinkType(string $itemsLinkType = null)
No description
getItemsValidations()
No description
setItemsValidations(array $itemsValidations)
No description
Details
at line 61
__construct(string $id, string $name, string $itemsType, string $itemsLinkType = null)
ArrayField 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)
at line 170
jsonSerialize()
{@inheritdoc}