Class FEBoxElement

Description

This is the Box FormElement which builds a DIV with a width and a height. It is a base class for more complicated FormElements.

Located in /form/form_elements/FEBoxElement.inc (line 29)

FormElement
   |
   --FEBoxElement
Direct descendents
Class Description
FEDate This class builds a widget that shows a group of select boxes (FEYears, FEMonths, FEDays) representing a date.
FEDay This class builds a widget that shows a group of select boxes (FEMonths, FEDays) representing a date.
FEDataList This is the DataList FormElement which builds a a complex FEBoxElement. It has no validation method.
FETextArea This is the TextArea FormElement which builds a textarea field. It has no validation method.
FEButton This is the button FormElement which builds a input field of type="button". It has no validation method.
Variable Summary
mixed $_height
mixed $_width
Method Summary
FEBoxElement FEBoxElement (label $label, [bool $required = TRUE], [int $width = NULL], [int $height = NULL])
Variables
Methods
Constructor FEBoxElement (line 51)

The constructor

FEBoxElement FEBoxElement (label $label, [bool $required = TRUE], [int $width = NULL], [int $height = NULL])
  • label $label: string - text label for the element
  • bool $required: required - is this a required element
  • int $width: required - element width in pixels (px), percentage (%) or elements (em)
  • int $height: required - element height in pixels (px), percentage (%) or elements (em)

Inherited Methods

Inherited From FormElement

FormElement::FormElement()
FormElement::build_id_name()
FormElement::create_element_name()
FormElement::enable_validation()
FormElement::form_tag_onsubmit()
FormElement::get_attribute()
FormElement::get_confirm_element()
FormElement::get_element()
FormElement::get_element_name()
FormElement::get_errors()
FormElement::get_error_message()
FormElement::get_form_element()
FormElement::get_init_value()
FormElement::get_label()
FormElement::get_label_text()
FormElement::get_required_symbol()
FormElement::get_slave_elements()
FormElement::get_tabindex()
FormElement::get_value()
FormElement::get_value_text()
FormElement::has_error()
FormElement::is_disabled()
FormElement::is_readonly()
FormElement::is_required()
FormElement::javascript()
FormElement::onBlur()
FormElement::onChange()
FormElement::onClick()
FormElement::onFocus()
FormElement::onSubmit()
FormElement::set_attribute()
FormElement::set_colon_flag()
FormElement::set_data_all_slaves()
FormElement::set_disabled()
FormElement::set_element_name()
FormElement::set_error_message()
FormElement::set_form_name()
FormElement::set_label_text()
FormElement::set_onBlur()
FormElement::set_onChange()
FormElement::set_onClick()
FormElement::set_onFocus()
FormElement::set_onSubmit()
FormElement::set_readonly()
FormElement::set_required()
FormElement::set_required_symbol()
FormElement::set_slave_data()
FormElement::set_slave_elements()
FormElement::set_stripslashes()
FormElement::set_style_attribute()
FormElement::set_tabindex()
FormElement::set_title()
FormElement::set_value()
FormElement::validate()
FormElement::_build_element_attributes()
FormElement::_build_javascript()
FormElement::_do_validation()
FormElement::_sanitize_string()

Documentation generated on Fri, 28 Jan 2011 08:52:53 -0500 by phpDocumentor 1.4.3