PHP Class Passwd_Driver_Vpopmail, horde

Author: Mike Cochrane ([email protected])
Author: Mattias Webjörn Eriksson ([email protected])
Author: Ilya Krel ([email protected])
Author: Ralf Lang ([email protected])
Author: Anton Nekhoroshikh ([email protected])
Author: Eric Jon Rostetter ([email protected])
Author: Tjeerd van der Zee ([email protected])
Inheritance: extends Passwd_Driver
Show file Open project: horde/horde

Protected Properties

Property Type Description
$_connected boolean State of SQL connection.
$_db Horde_Db_Adapter The Horde_Db object.

Public Methods

Method Description
__construct ( $params = [] )

Protected Methods

Method Description
_changePassword ( $user, $oldpass, $newpass )
_lookup ( string $user, string $oldpass ) Finds out if a username and password is valid.
_modify ( string $user, string $newpass ) Modifies a SQL password record for a user.

Method Details

__construct() public method

public __construct ( $params = [] )

_changePassword() protected method

protected _changePassword ( $user, $oldpass, $newpass )

_lookup() protected method

Finds out if a username and password is valid.
protected _lookup ( string $user, string $oldpass )
$user string The username to check.
$oldpass string An old password to check.

_modify() protected method

Modifies a SQL password record for a user.
protected _modify ( string $user, string $newpass )
$user string The user whose record we will udpate.
$newpass string The new password value to set.

Property Details

$_connected protected property

State of SQL connection.
protected bool $_connected
return boolean

$_db protected property

The Horde_Db object.
protected Horde_Db_Adapter $_db
return Horde_Db_Adapter