10 # Get a new FancyCaptcha form data
12 $info = $captcha->getCaptcha();
13 $captchaIndex = $captcha->storeCaptcha( $info );
16 $result->addValue(
null, $this->
getModuleName(), [
'index' => $captchaIndex ] );
30 'action=fancycaptchareload'
31 =>
'apihelp-fancycaptchareload-example-1',
This abstract class implements many basic API functions, and is the base of all API classes.
getResult()
Get the result object.
getModuleName()
Get the name of the module being executed by this instance.
Api module to reload FancyCaptcha.
getAllowedParams()
Returns an array of allowed parameters (parameter name) => (default value) or (parameter name) => (ar...
execute()
Evaluates the parameters, performs the requested query, and sets up the result.
FancyCaptcha for displaying captchas precomputed by captcha.py.