Methods |
public
|
__construct(DOMElement $node)
Parameters
$node |
The node associated with this field
|
|
#
|
public
|
getLabel(): DOMElement|null
Returns the label tag associated to the field or null if none.
Returns the label tag associated to the field or null if none.
|
#
|
public
|
getName(): string
Returns the name of the field.
Returns the name of the field.
|
#
|
public
|
getValue(): string|array|null
Gets the value of the field.
Gets the value of the field.
|
#
|
public
|
setValue(?string $value)
Sets the value of the field.
Sets the value of the field.
|
#
|
public
|
hasValue(): bool
Returns true if the field should be included in the submitted values.
Returns true if the field should be included in the submitted values.
|
#
|
public
|
isDisabled(): bool
Check if the current field is disabled.
Check if the current field is disabled.
|
#
|
abstract
protected
|
initialize()
Initializes the form field.
Initializes the form field.
|
#
|