Class FECheckBox

Description

This is the CheckBox FormElement which builds a input field of type="checkbox". It has no validation method.

Located in Program_Root/form/form_elements/FECheckBox.inc (line 28)

FormElement
   |
   --FECheckBox
Variable Summary
mixed $_text
Method Summary
void FECheckBox (label $label, string $text)
object get_element ()
string get_value_text (mixed $value)
Variables
Methods
Constructor FECheckBox (line 42)

The constructor

void FECheckBox (label $label, string $text)
  • label $label:

    string - text label for the element

  • string $text:

    text - checkbox text to be displayed

get_element (line 74)

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
get_value_text (line 60)

This provides a method

for the FormContent to get access to the text associated with a field. This is only available on FormElements that have text associated with a field. It is used during Confirmation

  • return:

    - the text associated

string get_value_text (mixed $value)
  • mixed $value:

    - the value to look up


Redefinition of:
FormElement::get_value_text()
This provides a method

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:29 -0700 by phpDocumentor 1.2.0