Documentation

Horde_Form_Type_email extends Horde_Form_Type
in package

Horde_Form_Type Class

Table of Contents

$_allow_multi  : bool
Allow multiple addresses?
$_check_smtp  : bool
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  : bool
Link the email address to the compose page when displaying?
$_link_name  : bool
The name to use when linking to the compose page
$_size  : int
The size of the input field.
$_strip_domain  : bool
Protect address from spammers?
__get()  : mixed
__set()  : mixed
about()  : mixed
Return info about field type.
allowMulti()  : mixed
getInfo()  : mixed
getProperty()  : mixed
getSize()  : mixed
getTypeName()  : mixed
getValues()  : mixed
init()  : mixed
Init an "email" field
isValid()  : mixed
onSubmit()  : mixed
setProperty()  : mixed
splitEmailAddresses()  : array<string|int, mixed>
Explodes an RFC 2822 string, ignoring a delimiter if preceded by a "\" character, or if the delimiter is inside single or double quotes.
validateEmailAddress()  : bool
validateEmailAddressSmtp()  : bool
Attempt partial delivery of mail to an address to validate it.
_isRfc3696ValidEmailAddress()  : mixed
RFC3696 Email Parser
_rfc3696StripComments()  : mixed
RFC3696 Email Parser

Properties

$_allow_multi

Allow multiple addresses?

public bool $_allow_multi = \false

$_check_smtp

Whether to check the domain's SMTP server whether the address exists.

public bool $_check_smtp = \false

$_delimiters

A string containing valid delimiters (default is just comma).

public string $_delimiters = ','

Link the email address to the compose page when displaying?

public bool $_link_compose = \false

The name to use when linking to the compose page

public bool $_link_name

$_size

The size of the input field.

public int $_size

$_strip_domain

Protect address from spammers?

public bool $_strip_domain = \false

Methods

__get()

public __get(mixed $property) : mixed
Parameters
$property : mixed
Return values
mixed

__set()

public __set(mixed $property, mixed $value) : mixed
Parameters
$property : mixed
$value : mixed
Return values
mixed

about()

Return info about field type.

public about() : mixed
Return values
mixed

allowMulti()

public allowMulti() : mixed
Return values
mixed

getInfo()

public getInfo(mixed &$vars, mixed &$var, mixed &$info) : mixed
Parameters
$vars : mixed
$var : mixed
$info : mixed
Return values
mixed

getProperty()

public getProperty(mixed $property) : mixed
Parameters
$property : mixed
Return values
mixed

getSize()

public getSize() : mixed
Return values
mixed

getTypeName()

public getTypeName() : mixed
Return values
mixed

getValues()

public getValues(mixed ...$params) : mixed
Parameters
$params : mixed
Return values
mixed

init()

Init an "email" field

public init(mixed ...$params) : mixed
Parameters
$params : mixed
Return values
mixed

isValid()

public isValid(mixed &$var, mixed &$vars, mixed $value, mixed &$message) : mixed
Parameters
$var : mixed
$vars : mixed
$value : mixed
$message : mixed
Return values
mixed

onSubmit()

public onSubmit(mixed ...$params) : mixed
Parameters
$params : mixed
Return values
mixed

setProperty()

public setProperty(mixed $property, mixed $value) : mixed
Parameters
$property : mixed
$value : mixed
Return values
mixed

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|int, mixed>
Parameters
$string : string

The RFC 822 string.

Return values
array<string|int, mixed>

The exploded string in an array.

validateEmailAddress()

public validateEmailAddress(string $email) : bool
Parameters
$email : string

An individual email address to validate.

Return values
bool

validateEmailAddressSmtp()

Attempt partial delivery of mail to an address to validate it.

public validateEmailAddressSmtp(string $email) : bool
Parameters
$email : string

An individual email address to validate.

Return values
bool

_isRfc3696ValidEmailAddress()

RFC3696 Email Parser

protected _isRfc3696ValidEmailAddress(mixed $email) : mixed

By Cal Henderson cal@iamcal.com

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

Parameters
$email : mixed
Return values
mixed

_rfc3696StripComments()

RFC3696 Email Parser

protected _rfc3696StripComments(mixed $comment, mixed $email[, mixed $replace = '' ]) : mixed

By Cal Henderson cal@iamcal.com

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 $

Parameters
$comment : mixed
$email : mixed
$replace : mixed = ''
Return values
mixed

Search results