abstract class FormField
FormField is the abstract class for all form fields.
Methods
|
__construct(DOMNode $node)
Constructor. |
||
| string |
getName()
Returns the name of the field. |
|
| string|array |
getValue()
Gets the value of the field. |
|
|
setValue(string $value)
Sets the value of the field. |
||
| Boolean |
hasValue()
Returns true if the field should be included in the submitted values. |
|
| Boolean |
isDisabled()
Check if the current field is disabled |
Details
at line 51
public
__construct(DOMNode $node)
Constructor.
at line 71
public string
getName()
Returns the name of the field.
at line 81
public string|array
getValue()
Gets the value of the field.
at line 93
public
setValue(string $value)
Sets the value of the field.
at line 103
public Boolean
hasValue()
Returns true if the field should be included in the submitted values.
at line 113
public Boolean
isDisabled()
Check if the current field is disabled