class ChoiceFormField extends FormField
ChoiceFormField represents a choice form field. It is constructed from a HTML select tag, or a HTML checkbox, or radio inputs.
Methods
__construct(DOMElement $node) Constructor. from FormField string getName() Returns the name of the field. from FormField string|array getValue() Gets the value of the field. from FormField setValue(string $value) Sets the value of the field.
bool hasValue() Returns true if the field should be includ