dolibarr 21.0.0-beta
|
Class to generate a password according to a dolibarr standard rule (12 random chars) More...
Public Member Functions | |
__construct ($db, $conf, $langs, $user) | |
Constructor. | |
getDescription () | |
Return description of module. | |
getExample () | |
Return an example of password generated by this module. | |
getCaptchaCodeForForm ($php_self='') | |
Return the HTML content to output on a form that need the captcha. | |
validateCodeAfterLoginSubmit () | |
Validate a captcha This function is called after a log to validate a captcha, before validating a password. | |
Public Member Functions inherited from ModeleCaptcha | |
isEnabled () | |
Return if a module can be used or not. | |
Class to generate a password according to a dolibarr standard rule (12 random chars)
Definition at line 34 of file modCaptchaStandard.class.php.
modCaptchaStandard::__construct | ( | $db, | |
$conf, | |||
$langs, | |||
$user ) |
modCaptchaStandard::getCaptchaCodeForForm | ( | $php_self = '' | ) |
Return the HTML content to output on a form that need the captcha.
string | $php_self | An URL for the a href link |
Reimplemented from ModeleCaptcha.
Definition at line 108 of file modCaptchaStandard.class.php.
References img_picto().
modCaptchaStandard::getDescription | ( | ) |
Return description of module.
Reimplemented from ModeleCaptcha.
Definition at line 69 of file modCaptchaStandard.class.php.
modCaptchaStandard::getExample | ( | ) |
Return an example of password generated by this module.
Reimplemented from ModeleCaptcha.
Definition at line 80 of file modCaptchaStandard.class.php.
References $conf.
modCaptchaStandard::validateCodeAfterLoginSubmit | ( | ) |
Validate a captcha This function is called after a log to validate a captcha, before validating a password.
Reimplemented from ModeleCaptcha.
Definition at line 163 of file modCaptchaStandard.class.php.
References GETPOST().