PHP Class Passwd_Driver_Expectpecl, horde

Copyright 2006-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Duck ([email protected])
Inheritance: extends Passwd_Driver
Show file Open project: horde/horde

Protected Properties

Property Type Description
$_stream resource Expect connection handle.

Protected Methods

Method Description
_changePassword ( $user, $oldpass, $newpass )
_ctl ( string $expect, string $error ) Handles expect communication.

Method Details

_changePassword() protected method

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

_ctl() protected method

Handles expect communication.
protected _ctl ( string $expect, string $error )
$expect string String to expect.
$error string Error message.

Property Details

$_stream protected property

Expect connection handle.
protected resource $_stream
return resource