recaptcha type form element
More...
|
| __construct ($elementName=null, $elementLabel=null, $attributes=null) |
| constructor
|
|
| export_for_template (renderer_base $output) |
|
| get_force_ltr () |
| Get force LTR option.
|
|
| getHelpButton () |
| get html for help button
|
|
| MoodleQuickForm_recaptcha ($elementName=null, $elementLabel=null, $attributes=null) |
| Old syntax of class constructor.
|
|
| toHtml () |
| Returns the reCAPTCHA element in HTML.
|
|
| verify ($responsestr) |
| Checks recaptcha response with Google.
|
|
|
string | $_helpbutton ='' |
| html for help button, if empty then no help
|
|
recaptcha type form element
HTML class for a recaptcha type element
- Copyright
- 2008 Nicolas Connault nicol.nosp@m.asco.nosp@m.nnaul.nosp@m.t@gm.nosp@m.ail.c.nosp@m.om
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
MoodleQuickForm_recaptcha::__construct |
( |
| $elementName = null, |
|
|
| $elementLabel = null, |
|
|
| $attributes = null ) |
constructor
- Parameters
-
string | $elementName | (optional) name of the recaptcha element |
string | $elementLabel | (optional) label for recaptcha element |
mixed | $attributes | (optional) Either a typical HTML attribute string or an associative array |
◆ get_force_ltr()
MoodleQuickForm_recaptcha::get_force_ltr |
( |
| ) |
|
Get force LTR option.
- Return values
-
◆ getHelpButton()
MoodleQuickForm_recaptcha::getHelpButton |
( |
| ) |
|
get html for help button
- Return values
-
string | html for help button |
◆ MoodleQuickForm_recaptcha()
MoodleQuickForm_recaptcha::MoodleQuickForm_recaptcha |
( |
| $elementName = null, |
|
|
| $elementLabel = null, |
|
|
| $attributes = null ) |
◆ toHtml()
MoodleQuickForm_recaptcha::toHtml |
( |
| ) |
|
Returns the reCAPTCHA element in HTML.
- Return values
-
◆ verify()
MoodleQuickForm_recaptcha::verify |
( |
| $responsestr | ) |
|
Checks recaptcha response with Google.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file: