|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| MoodleQuickForm_recaptcha ($elementName=null, $elementLabel=null, $attributes=null) | |
| toHtml () | |
| setHelpButton ($helpbuttonargs, $function='helpbutton') | |
| getHelpButton () | |
| verify ($challenge_field, $response_field) | |
Data Fields | |
| $_helpbutton = '' | |
| $_https = false | |
Definition at line 19 of file recaptcha.php.
| getHelpButton | ( | ) |
get html for help button
public
Definition at line 112 of file recaptcha.php.
| MoodleQuickForm_recaptcha | ( | $ | elementName = null, |
| $ | elementLabel = null, |
||
| $ | attributes = null |
||
| ) |
$form->addElement('textarea_counter', 'message', 'Message', array('cols'=>60, 'rows'=>10), 160);
Definition at line 36 of file recaptcha.php.

| setHelpButton | ( | $ | helpbuttonargs, |
| $ | function = 'helpbutton' |
||
| ) |
set html for help button
public
| array | $help | array of arguments to make a help button |
| string | $function | function name to call to get html |
Definition at line 102 of file recaptcha.php.

| toHtml | ( | ) |
Returns the recaptcha element in HTML
Reimplemented from HTML_QuickForm_input.
Definition at line 54 of file recaptcha.php.

| verify | ( | $ | challenge_field, |
| $ | response_field | ||
| ) |
| $_helpbutton = '' |
Definition at line 26 of file recaptcha.php.
| $_https = false |
Definition at line 28 of file recaptcha.php.