Class FEGMTTimeZoneListBox

Description

This class is used to build a ListBox for GMT timezone selection

  • author: Walter A. Boring IV
  • copyright: LGPL - See LICENCE

Located in /form/form_elements/FEListBox.inc (line 2109)

FormElement
   |
   --FEBoxElement
      |
      --FEDataList
         |
         --FEListBox
            |
            --FEGMTTimeZoneListBox
Variable Summary
mixed $_zones
Method Summary
FEGMTTimeZoneListBox FEGMTTimeZoneListBox ([string $label = 'TimeZone'], [boolean $required = FALSE])
Variables
mixed $_zones = array("GMT -12 : Eniwetok, Kwajalein"=>-12,
"GMT -11 : Midway Islands, Samoa"=>-11,
"GMT -10 : Hawaii"=>-10,
"GMT -09 : Alaska"=>-9,
"GMT -08 : Pacific (USA, Canada), Tijuana"=>-8,
"GMT -07 : Arizona"=>-7,
"GMT -06 : Central (USA, Canada), Mexico"=>-6,
"GMT -05 : Bogota, Lima, Quito, East (USA, Canada)"=>-5,
"GMT -04 : Caracas, La Paz, Atlantic (Canada)"=>-4,
"GMT -03 : Terre Neuve, Brasilia, Georgetown"=>-3,
"GMT -02 : Atlantic Center"=>-2,
"GMT -01 : Azores"=>-1,
"GMT +00 : Casablanca, London, Dublin, Lisbon"=>0,
"GMT +01 : Paris, Amsterdam, Berlin, Rome, Vienna"=>1,
"GMT +02 : Athens, Bucharest, Riga, Cairo, Israel"=>2,
"GMT +03 : Nairobi, Moscow, Baghdad"=>3,
"GMT +04 : Abu Dhabi, Kabul"=>4,
"GMT +05 : Islamabad"=>5,
"GMT +06 : Colombo"=>6,
"GMT +07 : Bangkok, Hanoi, Jakarta"=>7,
"GMT +08 : Beijing, Hong Kong, Singapore, Taipei"=>8,
"GMT +09 : Tokyo, Seoul"=>9,
"GMT +10 : Sydney, Vladivostok"=>10,
"GMT +11 : New Caledonia"=>11,
"GMT +12 : Wellington"=>12)
(line 2114)

The timezone selections

Inherited Variables

Inherited from FEDataList

FEDataList::$_data_list
FEDataList::$_disabled_items

Inherited from FEBoxElement

FEBoxElement::$_height
FEBoxElement::$_width

Inherited from FormElement

FormElement::$onBlurJS
FormElement::$onChangeJS
FormElement::$onClickJS
FormElement::$onFocusJS
FormElement::$onSubmitJS
FormElement::$_attributes
FormElement::$_element_name
FormElement::$_errors
FormElement::$_error_message
FormElement::$_form_name
FormElement::$_has_error
FormElement::$_has_form_on_submit
FormElement::$_is_disabled
FormElement::$_is_readonly
FormElement::$_is_required
FormElement::$_label_colon_flag
FormElement::$_label_text
FormElement::$_required_field_marker
FormElement::$_slave_elements
FormElement::$_stripslashes
FormElement::$_style_attributes
FormElement::$_validation_enabled
FormElement::$_value
Methods
Constructor FEGMTTimeZoneListBox (line 2146)

The constructor

FEGMTTimeZoneListBox FEGMTTimeZoneListBox ([string $label = 'TimeZone'], [boolean $required = FALSE])
  • string $label: the label (default = 'Minutes')
  • boolean $required: required flag or not

Inherited Methods

Inherited From FEListBox

FEListBox::get_element()

Inherited From FEDataList

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

Inherited From FEBoxElement

FEBoxElement::FEBoxElement()

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:56 -0500 by phpDocumentor 1.4.3