[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/form/ -> recaptcha.php (summary)

recaptcha type form element Contains HTML class for a recaptcha type element

Copyright: 2008 Nicolas Connault <nicolasconnault@gmail.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 155 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MoodleQuickForm_recaptcha:: (5 methods):
  __construct()
  MoodleQuickForm_recaptcha()
  toHtml()
  getHelpButton()
  verify()


Class: MoodleQuickForm_recaptcha  - X-Ref

recaptcha type form element

HTML class for a recaptcha type element

__construct($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

MoodleQuickForm_recaptcha($elementName = null, $elementLabel = null, $attributes = null)   X-Ref
Old syntax of class constructor. Deprecated in PHP7.


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: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1