Method |
Description |
|
addChoice ( DOMElement $node ) |
Adds a choice to the current ones. |
|
availableOptionValues ( ) : array |
Returns list of available field options. |
|
containsOption ( string $optionValue, array $options ) : boolean |
Checks whether given value is in the existing options. |
|
disableValidation ( ) : self |
Disables the internal validation of the field. |
|
getType ( ) : string |
Returns the type of the choice field (radio, select, or checkbox). |
|
hasValue ( ) : boolean |
Returns true if the field should be included in the submitted values. |
|
isDisabled ( ) : boolean |
Check if the current selected option is disabled. |
|
isMultiple ( ) : boolean |
Returns true if the field accepts multiple values. |
|
select ( string $value ) |
Sets the value of the field. |
|
setValue ( string $value ) |
Sets the value of the field. |
|
tick ( ) |
Ticks a checkbox. |
|
untick ( ) |
Ticks a checkbox. |
|