Свойство | Type | Description | |
---|---|---|---|
$_params | array | Hash containing configuration parameters. |
Méthode | Description | |
---|---|---|
__construct ( array $params = [] ) | Constructor. | |
changePassword ( string $user, string $oldpass, string $newpass ) | Changes the user's password. |
Méthode | Description | |
---|---|---|
_changePassword ( string $user, string $oldpass, string $newpass ) | Changes the user's password. | |
_comparePasswords ( string $encrypted, string $plaintext ) | Compares a plaintext password with an encrypted password. | |
_encryptPassword ( string $plaintext ) : string | Encrypts a password. |
public __construct ( array $params = [] ) | ||
$params | array | A hash containing connection parameters. |
protected _comparePasswords ( string $encrypted, string $plaintext ) | ||
$encrypted | string | An encrypted password. |
$plaintext | string | An unencrypted password. |
protected _encryptPassword ( string $plaintext ) : string | ||
$plaintext | string | A plaintext password. |
Résultat | string | The encrypted password. |
protected array $_params | ||
Résultat | array |