Class FEText

Description

This is the Text FormElement which builds a text input field. It has no validation method.

Located in Program_Root/form/form_elements/FEText.inc (line 29)

FormElement
   |
   --FEText
Direct descendents
Class Description
FENumber This is the FormElement which builds a text input field that validates It validates as is_number().
FENumberFloat This is the float FormElement which builds a text input field.
FENumberPrice This is the Price FormElement which builds a text input field.
FENumberInRange This is the Number Range FormElement which builds a text input field.
FEFile This is the FileUpload FormElement which builds a input field of type="file".
FEName This is the Name FormElement which builds a text input field, and validates against the is_name() method.
FEEmail This is the Email FormElement which builds a text input field.
FEEmailMany This is the EmailMany FormElement which builds a text input field. This allows for multiple email addresses in 1 text input field seperated by commas.
FEDomainName This is the DomainName FormElement which builds a text input field.
FEHostNameWithPort This is the DomainName FormElement which builds a text input field. It also includes a port # It validates as is_domainname().
FEIPAddress This is the Ip Address FormElement which builds a text input field.
FEUrl This is the URL FormElement which builds a text input field.
FEUrlStrict This is the URLStrict FormElement which builds a text input field.
FEPassword This is the Password FormElement which builds a input field of type="password". It validates the data as is_password().
Method Summary
void FEText (label $label, [bool $required = TRUE], [int $width = NULL], [int $maxlength = NULL])
object get_element ()
Variables
Methods
Constructor FEText (line 39)

The constructor

void FEText (label $label, [bool $required = TRUE], [int $width = NULL], [int $maxlength = NULL])
  • label $label:

    string - text label for the element

  • bool $required:

    required - is this a required element

  • int $width:

    required - element width in characters, pixels (px), percentage (%) or elements (em)

  • int $maxlength:

    required - maximum number of chars allowed to type in

get_element (line 60)

This function builds and returns the form element object

object get_element ()

Redefinition of:
FormElement::get_element()
This function builds and returns the form element object

Redefined in descendants as:

Inherited Methods

Inherited From FormElement

FormElement::FormElement()
FormElement::create_element_name()
FormElement::get_attribute()
FormElement::get_element()
FormElement::get_element_name()
FormElement::get_errors()
FormElement::get_error_message()
FormElement::get_init_value()
FormElement::get_label()
FormElement::get_label_text()
FormElement::get_required_symbol()
FormElement::get_value()
FormElement::get_value_text()
FormElement::has_error()
FormElement::is_disabled()
FormElement::is_required()
FormElement::javascript()
FormElement::onBlur()
FormElement::onChange()
FormElement::onClick()
FormElement::onFocus()
FormElement::onSubmit()
FormElement::set_attribute()
FormElement::set_disabled()
FormElement::set_error_message()
FormElement::set_form_name()
FormElement::set_label_text()
FormElement::set_required()
FormElement::set_stripslashes()
FormElement::set_style_attribute()
FormElement::set_title()
FormElement::set_value()
FormElement::validate()
FormElement::_build_element_attributes()
FormElement::_build_javascript()
FormElement::_do_validation()

Documention generated on Thu, 31 Jul 2003 18:32:38 -0700 by phpDocumentor 1.2.0