Свойство | Type | Description | |
---|---|---|---|
$_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? |
Méthode | Description | |
---|---|---|
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. |
Méthode | Description | |
---|---|---|
_isRfc3696ValidEmailAddress ( $email ) | RFC3696 Email Parser | |
_rfc3696StripComments ( $comment, $email, $replace = '' ) | RFC3696 Email Parser |
protected _isRfc3696ValidEmailAddress ( $email ) |
protected _rfc3696StripComments ( $comment, $email, $replace = '' ) |
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. |
public splitEmailAddresses ( string $string ) : array | ||
$string | string | The RFC 822 string. |
Résultat | array | The exploded string in an array. |
public validateEmailAddress ( string $email ) : boolean | ||
string | An individual email address to validate. | |
Résultat | boolean |
public validateEmailAddressSmtp ( string $email ) : boolean | ||
string | An individual email address to validate. | |
Résultat | boolean |
public bool $_allow_multi | ||
Résultat | boolean |
public bool $_check_smtp | ||
Résultat | boolean |
public string $_delimiters | ||
Résultat | string |
public bool $_link_compose | ||
Résultat | boolean |
public bool $_link_name | ||
Résultat | boolean |
public bool $_strip_domain | ||
Résultat | boolean |