dolibarr 19.0.4
|
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. | |
getNewGeneratedPassword () | |
Build new password. | |
validatePassword ($password) | |
Validate a password This function is called by User->setPassword() and internally to validate that the password matches the constraints. | |
Public Member Functions inherited from ModeleGenPassword | |
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 31 of file modGeneratePassStandard.class.php.
modGeneratePassStandard::__construct | ( | $db, | |
$conf, | |||
$langs, | |||
$user ) |
modGeneratePassStandard::getDescription | ( | ) |
Return description of module.
Reimplemented from ModeleGenPassword.
Definition at line 79 of file modGeneratePassStandard.class.php.
modGeneratePassStandard::getExample | ( | ) |
Return an example of password generated by this module.
Reimplemented from ModeleGenPassword.
Definition at line 90 of file modGeneratePassStandard.class.php.
References getNewGeneratedPassword().
modGeneratePassStandard::getNewGeneratedPassword | ( | ) |
Build new password.
Reimplemented from ModeleGenPassword.
Definition at line 100 of file modGeneratePassStandard.class.php.
References dol_strlen().
Referenced by getExample().
modGeneratePassStandard::validatePassword | ( | $password | ) |
Validate a password This function is called by User->setPassword() and internally to validate that the password matches the constraints.
string | $password | Password to check |
Reimplemented from ModeleGenPassword.
Definition at line 137 of file modGeneratePassStandard.class.php.
References dol_strlen().