dolibarr 20.0.0
|
Class to generate a password according to rule 'no password'. 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. | |
Public Member Functions inherited from ModeleGenPassword | |
isEnabled () | |
Return if a module can be used or not. | |
Class to generate a password according to rule 'no password'.
Definition at line 32 of file modGeneratePassNone.class.php.
modGeneratePassNone::__construct | ( | $db, | |
$conf, | |||
$langs, | |||
$user ) |
modGeneratePassNone::getDescription | ( | ) |
Return description of module.
Reimplemented from ModeleGenPassword.
Definition at line 66 of file modGeneratePassNone.class.php.
modGeneratePassNone::getExample | ( | ) |
Return an example of password generated by this module.
Reimplemented from ModeleGenPassword.
Definition at line 77 of file modGeneratePassNone.class.php.
modGeneratePassNone::getNewGeneratedPassword | ( | ) |
Build new password.
Reimplemented from ModeleGenPassword.
Definition at line 87 of file modGeneratePassNone.class.php.
modGeneratePassNone::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 99 of file modGeneratePassNone.class.php.