Class Horde_Mobile_checkbox

Description

This class provides a single checkbox element in a Horde_Mobile_form object.

Examples:

$myCheckbox = new Horde_Mobile_checkbox('agmt', 'yes', 'I agree'); $myCheckbox = new Horde_Mobile_checkbox('agmt', 'yes', 'I agree', false); $myCheckbox = new Horde_Mobile_checkbox('agmt', 'yes', 'I agree', true);

Located in /Mobile/Mobile.php (line 1143)

Horde_Mobile_element
   |
   --Horde_Mobile_formElement
      |
      --Horde_Mobile_checkbox
Variable Summary
 mixed $_checked
Method Summary
 Horde_Mobile_checkbox Horde_Mobile_checkbox (string $name, string $value, string $label, [boolean $checked = false])
 void isChecked ()
Variables
Methods
Constructor Horde_Mobile_checkbox (line 1157)

Constructor

Horde_Mobile_checkbox Horde_Mobile_checkbox (string $name, string $value, string $label, [boolean $checked = false])
  • string $name: Variable in which "value" is sent to the destination URL, if the box is checked.
  • string $value: See name.
  • string $label: Describes the checkbox on the surfer's screen/display.
  • boolean $checked: Allowed values are true or false.
isChecked (line 1165)
void isChecked ()

Inherited Methods

Inherited From Horde_Mobile_formElement

 Horde_Mobile_formElement::setMode()

Inherited From Horde_Mobile_element

 Horde_Mobile_element::Horde_Mobile_element()
 Horde_Mobile_element::get()
 Horde_Mobile_element::set()

Documentation generated on Sun, 30 Jan 2011 05:19:41 +0000 by phpDocumentor 1.4.3