FormField
class FormField
FormField is the abstract class for all form fields.
Methods
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.
bool
hasValue()
Returns true if the field should be included in the submitted values.
bool
isDisabled()
Check if the current field is disabled.
Details
at line line 51
__construct(DOMElement $node)
Constructor.
at line line 65
string
getName()
Returns the name of the field.
at line line 75
string|array
getValue()
Gets the value of the field.
at line line 85
setValue(string $value)
Sets the value of the field.
at line line 95
bool
hasValue()
Returns true if the field should be included in the submitted values.
at line line 105
bool
isDisabled()
Check if the current field is disabled.