[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/extensions/ConfirmEdit/ -> ReCaptcha.class.php (summary)

(no description)

File Size: 101 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ReCaptcha:: (6 methods):
  getForm()
  passCaptcha()
  addCaptchaAPI()
  getMessage()
  APIGetAllowedParams()
  APIGetParamDescription()


Class: ReCaptcha  - X-Ref

getForm()   X-Ref
Displays the reCAPTCHA widget.
If $this->recaptcha_error is set, it will display an error in the widget.


passCaptcha()   X-Ref
Calls the library function recaptcha_check_answer to verify the users input.
Sets $this->recaptcha_error if the user is incorrect.

return: boolean

addCaptchaAPI( &$resultArr )   X-Ref
No description

getMessage( $action )   X-Ref
Show a message asking the user to enter a captcha on edit
The result will be treated as wiki text

param: $action string Action being performed
return: string

APIGetAllowedParams( &$module, &$params, $flags )   X-Ref
No description

APIGetParamDescription( &$module, &$desc )   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1