login() public method

Defaults from the constructor are used for missing parameters.
public login ( string $user = null, string $password = null, string $authmethod = null, string $euser = null )
$user string Login username.
$password string Login password.
$authmethod string Type of login method to use.
$euser string Effective UID (perform on behalf of $euser).
コード例 #1
0
ファイル: ManageSieveTest.php プロジェクト: raz0rsdge/horde
 public function testDisconnect()
 {
     $this->fixture->connect($this->config['host'], $this->config['port']);
     $this->fixture->login($this->config['username'], $this->config['password']);
     $this->fixture->disconnect();
 }