[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
recaptcha type form element Contains HTML class for a recaptcha type element
Copyright: | 2008 Nicolas Connault <[email protected]> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 145 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
MoodleQuickForm_recaptcha:: (4 methods):
MoodleQuickForm_recaptcha()
toHtml()
getHelpButton()
verify()
Class: MoodleQuickForm_recaptcha - X-Ref
recaptcha type form elementMoodleQuickForm_recaptcha($elementName = null, $elementLabel = null, $attributes = null) X-Ref |
constructor param: string $elementName (optional) name of the recaptcha element param: string $elementLabel (optional) label for recaptcha element param: mixed $attributes (optional) Either a typical HTML attribute string |
toHtml() X-Ref |
Returns the recaptcha element in HTML return: string |
getHelpButton() X-Ref |
get html for help button return: string html for help button |
verify($challenge_field, $response_field) X-Ref |
Checks input and challenged field param: string $challenge_field recaptcha shown to user param: string $response_field input value by user return: bool |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |