Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403] [Versions 402 and 403]
Radio input form element.
Copyright: | 2013 David MonllaĆ³ |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 91 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/behat/form_field/behat_form_checkbox.php |
Class: behat_form_radio - X-Ref
Radio input form field.get_value() X-Ref |
Returns the radio input value attribute. Here we can not extend behat_form_checkbox because isChecked() does internally a (bool)getValue() and it is not good for radio buttons. return: string The value attribute |
set_value($value) X-Ref |
Sets the value of a radio Partially overwriting behat_form_checkbox implementation as when JS is disabled we can not check() and we should use setValue() param: string $value return: void |