PHP 클래스 Horde_Mail_Autoconfig_Server, horde

저자: Michael Slusarz ([email protected])
파일 보기 프로젝트 열기: horde/horde

공개 프로퍼티들

프로퍼티 타입 설명
$host string The server hostname (IDN encoded).
$label integer The server label.
$port integer The server port.
$tls mixed 'tls' = TLS needed for direct connection to server/port. 'starttls' = Switch to TLS via protocol after connection. false = No TLS connection used.
$username string The username to use.

공개 메소드들

메소드 설명
valid ( array $opts = [] ) : boolean Check to see if server can be connected to.

메소드 상세

valid() 추상적인 공개 메소드

Check to see if server can be connected to.
abstract public valid ( array $opts = [] ) : boolean
$opts array Additional options: - auth: (mixed) The authentication credentials used to test a successful connection. - insecure: (boolean) If true, will attempt insecure authentication. - users: (array) A list of usernames to attempt if trying auth. If successful, the username will be stored in $username.
리턴 boolean True if server is valid.

프로퍼티 상세

$host 공개적으로 프로퍼티

The server hostname (IDN encoded).
public string $host
리턴 string

$label 공개적으로 프로퍼티

The server label.
public int $label
리턴 integer

$port 공개적으로 프로퍼티

The server port.
public int $port
리턴 integer

$tls 공개적으로 프로퍼티

'tls' = TLS needed for direct connection to server/port. 'starttls' = Switch to TLS via protocol after connection. false = No TLS connection used.
public mixed $tls
리턴 mixed

$username 공개적으로 프로퍼티

The username to use.
public string $username
리턴 string