Class FEYesNoListBox

Description

Build a Yes/No Select box

Located in Program_Root/form/form_elements/FEListBox.inc (line 70)

FormElement
   |
   --FEBoxElement
      |
      --FEDataList
         |
         --FEListBox
            |
            --FEYesNoListBox
Method Summary
void FEYesNoListBox (label $label, [bool $required = TRUE], [array $width = NULL], [int $height = NULL], [string $yes_value = "yes"], [string $no_value = "no"])
Variables
Methods
Constructor FEYesNoListBox (line 84)

The Constructor

void FEYesNoListBox (label $label, [bool $required = TRUE], [array $width = NULL], [int $height = NULL], [string $yes_value = "yes"], [string $no_value = "no"])
  • label $label:

    string - text label for the element

  • bool $required:

    required - is this a required element

  • array $width:

    data_list - list of data elements (name=>value)

  • int $height:

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

  • 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 FEListBox

FEListBox::get_element()

Inherited From FEDataList

FEDataList::FEDataList()
FEDataList::get_value_text()
FEDataList::set_list_data()
FEDataList::validate()

Inherited From FEBoxElement

FEBoxElement::FEBoxElement()

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