Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

EmailField Class Reference
[Basic Fields]

Inheritance diagram for EmailField:

TextField AbstractField Field List of all members.

Detailed Description

Simple email field w/ validation.

Zach Smith

Definition at line 7 of file

Public Member Functions

 __construct ($name, Form &$parentForm, array $attribs=array())

Member Function Documentation

EmailField::__construct name,
Form &$  parentForm,
array $  attribs = array()


$name Field name
$parentForm Form object that the field belongs to.
$attribs Array of extra attributes. Any non special key values will simply be output in the HTML of the field. Special keys include:
  • value Sets a default value for the field
  • required If true then the field is "required" (will not validate with an empty value)
  • errorMessage Message to display if an error is encountered during validation.
  • regExp Regular expression to use for validation. The special values of number & float can be used. Inheirited fields may define additional special keys as needed.

Reimplemented from AbstractField.

Definition at line 9 of file

The documentation for this class was generated from the following file:
Generated on Fri Oct 27 12:26:41 2006 for BaseJumper by doxygen