[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Radio input form element.
Copyright: | 2013 David Monllaó |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 94 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 |
matches($expectedvalue = false) X-Ref |
Returns whether the provided value matches the current value or not. param: string $expectedvalue return: bool |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |