Means to generate and process CAPTCHAs of various implementations
This is the code documentation for the SproutCMS project
Search documentation |
class CaptchaMeans to generate and process CAPTCHAs of various implementations
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2025-12-17
**/
class NewClassName extends Captcha {
/**
* Checks the captcha field against the submitted text
**/
public function check () {
// Method code goes here
}
/**
* Sets which library to use for CAPTCHA implementation
**/
public function useClass (string $class_name) {
// Method code goes here
}
/**
* Shows a captcha field
**/
public function field () {
// Method code goes here
}
/**
* Loads the default captcha class from config
**/
public function init () {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |
|