Class FEYesNoRadioGroup

Description

This is the Yes/No Radio Button Group FormElement.

It builds a FERadioGroup with 2 radio buttons labeled "Yes" and "No".

It has no validation method.

Located in Program_Root/form/form_elements/FERadioGroup.inc (line 158)

FormElement
   |
   --FERadioGroup
      |
      --FEYesNoRadioGroup
Method Summary
void FEYesNoRadioGroup (label $label, [bool $required = TRUE], [string $yes_value = "yes"], [string $no_value = "no"])
Variables
Methods
Constructor FEYesNoRadioGroup (line 170)

The constructor

void FEYesNoRadioGroup (label $label, [bool $required = TRUE], [string $yes_value = "yes"], [string $no_value = "no"])
  • label $label:

    string - text label for the element

  • bool $required:

    required - is this a required element

  • string $yes_value:

    - the value to use for the 'yes' radio NOTE: default is 'yes'

  • string $no_value:

    - the value to use for the 'no' radio NOTE: default is 'no'

Inherited Methods

Inherited From FERadioGroup

FERadioGroup::FERadioGroup()
FERadioGroup::get_element()
FERadioGroup::get_value_text()
FERadioGroup::_get_index_element()

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