|
dolibarr
x.y.z
|
Class to generate a password according to a dolibarr standard rule (12 random chars) More...


Public Member Functions | |
| __construct ($db, $conf, $langs, $user) | |
| Constructor. More... | |
| getDescription () | |
| Return description of module. More... | |
| getExample () | |
| Return an example of password generated by this module. More... | |
| getNewGeneratedPassword () | |
| Build new password. More... | |
| validatePassword ($password) | |
| Validate a password This function is called by User->setPassword() and internally to validate that the password matches the constraints. More... | |
Public Member Functions inherited from ModeleGenPassword | |
| isEnabled () | |
| Return if a module can be used or not. More... | |
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 89 of file modGeneratePassStandard.class.php.
| modGeneratePassStandard::getExample | ( | ) |
Return an example of password generated by this module.
Reimplemented from ModeleGenPassword.
Definition at line 100 of file modGeneratePassStandard.class.php.
References getNewGeneratedPassword().
| modGeneratePassStandard::getNewGeneratedPassword | ( | ) |
Build new password.
Reimplemented from ModeleGenPassword.
Definition at line 110 of file modGeneratePassStandard.class.php.
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 147 of file modGeneratePassStandard.class.php.