|
dolibarr
13.0.2
|
Class to generate a password according to a dolibarr standard rule (8 random chars) More...
Inheritance diagram for modGeneratePassStandard:
Collaboration diagram for modGeneratePassStandard: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. More... | |
Public Member Functions inherited from ModeleGenPassword | |
| isEnabled () | |
| Return if a module can be used or not. 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. More... | |
Class to generate a password according to a dolibarr standard rule (8 random chars)
Definition at line 32 of file modGeneratePassStandard.class.php.
| modGeneratePassStandard::__construct | ( | $db, | |
| $conf, | |||
| $langs, | |||
| $user | |||
| ) |
| modGeneratePassStandard::getDescription | ( | ) |
Return description of module.
Definition at line 75 of file modGeneratePassStandard.class.php.
| modGeneratePassStandard::getExample | ( | ) |
Return an example of password generated by this module.
Definition at line 86 of file modGeneratePassStandard.class.php.
References getNewGeneratedPassword().
| modGeneratePassStandard::getNewGeneratedPassword | ( | ) |
Build new password.
Definition at line 96 of file modGeneratePassStandard.class.php.
References dol_strlen().
Referenced by getExample().
| modGeneratePassStandard::validatePassword | ( | $password | ) |
Validate a password.
| string | $password | Password to check |
Definition at line 131 of file modGeneratePassStandard.class.php.
References dol_strlen().