PHP 클래스 Horde_Form_Type_email, horde

상속: extends Horde_Form_Type
파일 보기 프로젝트 열기: horde/horde

공개 프로퍼티들

프로퍼티 타입 설명
$_allow_multi boolean Allow multiple addresses?
$_check_smtp boolean Whether to check the domain's SMTP server whether the address exists.
$_delimiters string A string containing valid delimiters (default is just comma).
$_link_compose boolean Link the email address to the compose page when displaying?
$_link_name boolean The name to use when linking to the compose page
$_size integer The size of the input field.
$_strip_domain boolean Protect address from spammers?

공개 메소드들

메소드 설명
about ( ) Return info about field type.
allowMulti ( )
getSize ( )
init ( boolean $allow_multi = false, boolean $strip_domain = false, boolean $link_compose = false, string $link_name = null, string $delimiters = ',', integer $size = null )
isValid ( &$var, &$vars, $value, &$message )
splitEmailAddresses ( string $string ) : array Explodes an RFC 2822 string, ignoring a delimiter if preceded by a "\" character, or if the delimiter is inside single or double quotes.
validateEmailAddress ( string $email ) : boolean
validateEmailAddressSmtp ( string $email ) : boolean Attempt partial delivery of mail to an address to validate it.

보호된 메소드들

메소드 설명
_isRfc3696ValidEmailAddress ( $email ) RFC3696 Email Parser
_rfc3696StripComments ( $comment, $email, $replace = '' ) RFC3696 Email Parser

메소드 상세

_isRfc3696ValidEmailAddress() 보호된 메소드

By Cal Henderson This code is dual licensed: CC Attribution-ShareAlike 2.5 - http://creativecommons.org/licenses/by-sa/2.5/ GPLv3 - http://www.gnu.org/copyleft/gpl.html
protected _isRfc3696ValidEmailAddress ( $email )

_rfc3696StripComments() 보호된 메소드

By Cal Henderson This code is dual licensed: CC Attribution-ShareAlike 2.5 - http://creativecommons.org/licenses/by-sa/2.5/ GPLv3 - http://www.gnu.org/copyleft/gpl.html $Revision: 5039 $
protected _rfc3696StripComments ( $comment, $email, $replace = '' )

about() 공개 메소드

Return info about field type.
public about ( )

allowMulti() 공개 메소드

public allowMulti ( )

getSize() 공개 메소드

public getSize ( )

init() 공개 메소드

public init ( boolean $allow_multi = false, boolean $strip_domain = false, boolean $link_compose = false, string $link_name = null, string $delimiters = ',', integer $size = null )
$allow_multi boolean Allow multiple addresses?
$strip_domain boolean Protect address from spammers?
$link_compose boolean Link the email address to the compose page when displaying?
$link_name string The name to use when linking to the compose page.
$delimiters string Character to split multiple addresses with.
$size integer The size of the input field.

isValid() 공개 메소드

public isValid ( &$var, &$vars, $value, &$message )

splitEmailAddresses() 공개 메소드

Explodes an RFC 2822 string, ignoring a delimiter if preceded by a "\" character, or if the delimiter is inside single or double quotes.
public splitEmailAddresses ( string $string ) : array
$string string The RFC 822 string.
리턴 array The exploded string in an array.

validateEmailAddress() 공개 메소드

public validateEmailAddress ( string $email ) : boolean
$email string An individual email address to validate.
리턴 boolean

validateEmailAddressSmtp() 공개 메소드

Attempt partial delivery of mail to an address to validate it.
public validateEmailAddressSmtp ( string $email ) : boolean
$email string An individual email address to validate.
리턴 boolean

프로퍼티 상세

$_allow_multi 공개적으로 프로퍼티

Allow multiple addresses?
public bool $_allow_multi
리턴 boolean

$_check_smtp 공개적으로 프로퍼티

Whether to check the domain's SMTP server whether the address exists.
public bool $_check_smtp
리턴 boolean

$_delimiters 공개적으로 프로퍼티

A string containing valid delimiters (default is just comma).
public string $_delimiters
리턴 string

$_size 공개적으로 프로퍼티

The size of the input field.
public int $_size
리턴 integer

$_strip_domain 공개적으로 프로퍼티

Protect address from spammers?
public bool $_strip_domain
리턴 boolean