Overview

Packages

  • Form
  • None

Classes

  • Horde_Form
  • Horde_Form_Action
  • Horde_Form_Action_conditional_enable
  • Horde_Form_Action_conditional_setvalue
  • Horde_Form_Action_ConditionalEnable
  • Horde_Form_Action_ConditionalSetValue
  • Horde_Form_Action_reload
  • Horde_Form_Action_setcursorpos
  • Horde_Form_Action_submit
  • Horde_Form_Action_sum_fields
  • Horde_Form_Action_updatefield
  • Horde_Form_Renderer
  • Horde_Form_Translation
  • Horde_Form_Type
  • Horde_Form_Type_address
  • Horde_Form_Type_addresslink
  • Horde_Form_Type_assign
  • Horde_Form_Type_boolean
  • Horde_Form_Type_captcha
  • Horde_Form_Type_category
  • Horde_Form_Type_cellphone
  • Horde_Form_Type_colorpicker
  • Horde_Form_Type_countedtext
  • Horde_Form_Type_country
  • Horde_Form_Type_creditcard
  • Horde_Form_Type_date
  • Horde_Form_Type_datetime
  • Horde_Form_Type_dblookup
  • Horde_Form_Type_description
  • Horde_Form_Type_email
  • Horde_Form_Type_emailConfirm
  • Horde_Form_Type_enum
  • Horde_Form_Type_figlet
  • Horde_Form_Type_file
  • Horde_Form_Type_header
  • Horde_Form_Type_hourminutesecond
  • Horde_Form_Type_image
  • Horde_Form_Type_int
  • Horde_Form_Type_intlist
  • Horde_Form_Type_invalid
  • Horde_Form_Type_ip6address
  • Horde_Form_Type_ipaddress
  • Horde_Form_Type_keyval_multienum
  • Horde_Form_Type_link
  • Horde_Form_Type_longtext
  • Horde_Form_Type_matrix
  • Horde_Form_Type_mlenum
  • Horde_Form_Type_monthdayyear
  • Horde_Form_Type_monthyear
  • Horde_Form_Type_multienum
  • Horde_Form_Type_number
  • Horde_Form_Type_obrowser
  • Horde_Form_Type_octal
  • Horde_Form_Type_password
  • Horde_Form_Type_passwordconfirm
  • Horde_Form_Type_pgp
  • Horde_Form_Type_phone
  • Horde_Form_Type_radio
  • Horde_Form_Type_selectfiles
  • Horde_Form_Type_set
  • Horde_Form_Type_smime
  • Horde_Form_Type_sorter
  • Horde_Form_Type_sound
  • Horde_Form_Type_spacer
  • Horde_Form_Type_stringarray
  • Horde_Form_Type_stringlist
  • Horde_Form_Type_tableset
  • Horde_Form_Type_text
  • Horde_Form_Type_time
  • Horde_Form_Variable
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Form_Type_email

Horde_Form_Type Class

Horde_Form_Type
Extended by Horde_Form_Type_email
Package: Form
Author: Robert E. Coyle robertecoyle@hotmail.com
Located at Horde/Form/Type.php
Methods summary
public
# init( boolean $allow_multi = false, boolean $strip_domain = false, boolean $link_compose = false, string $link_name = null, string $delimiters = ',', integer $size = null )

Parameters

$allow_multi
Allow multiple addresses?
$strip_domain
Protect address from spammers?
$link_compose
<p>Link the email address to the compose page when displaying?</p>
$link_name
<p>The name to use when linking to the compose page.</p>
$delimiters
Character to split multiple addresses with.
$size
The size of the input field.

Overrides

Horde_Form_Type::init()
public
# isValid( mixed & $var, mixed & $vars, mixed $value, mixed & $message )

Overrides

Horde_Form_Type::isValid()
public array
# splitEmailAddresses( string $string )

Explodes an RFC 2822 string, ignoring a delimiter if preceded by a "\" character, or if the delimiter is inside single or double quotes.

Explodes an RFC 2822 string, ignoring a delimiter if preceded by a "\" character, or if the delimiter is inside single or double quotes.

Parameters

$string
The RFC 822 string.

Returns

array
The exploded string in an array.
public boolean
# validateEmailAddress( string $email )

Parameters

$email
An individual email address to validate.

Returns

boolean
public boolean
# validateEmailAddressSmtp( string $email )

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

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

Parameters

$email
An individual email address to validate.

Returns

boolean
public
# getSize( )
public
# about( )

Return info about field type.

Return info about field type.

Methods inherited from Horde_Form_Type
__get(), __set(), getInfo(), getProperty(), getTypeName(), getValues(), onSubmit(), setProperty()
Properties summary
public boolean $_allow_multi

Allow multiple addresses?

Allow multiple addresses?

# false
public boolean $_strip_domain

Protect address from spammers?

Protect address from spammers?

# false
public boolean $_link_compose

Link the email address to the compose page when displaying?

Link the email address to the compose page when displaying?

# false
public boolean $_check_smtp

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

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

# false
public boolean $_link_name

The name to use when linking to the compose page

The name to use when linking to the compose page

#
public string $_delimiters

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

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

# ','
public integer $_size

The size of the input field.

The size of the input field.

#
API documentation generated by ApiGen