Class Horde_Mobile_input

Description

This class provides a text input field in a Horde_Mobile_form object.

Examples:

$myInput1 = new Horde_Mobile_input('cid', '', 'Customer ID');

$myInput2 = new Horde_Mobile_input('cid', '', 'Customer ID', '*N'); $myInput2->set_size(6); $myInput2->set_maxlength(6);

$myInput3 = new Horde_Mobile_input('pw', '', 'Password', '*N'); $myInput3->set_size(8); $myInput3->set_maxlength(8); $myInput3->set_type('password');

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

Horde_Mobile_element
   |
   --Horde_Mobile_formElement
      |
      --Horde_Mobile_input
Method Summary
 Horde_Mobile_input Horde_Mobile_input (string $name, string $value, [string $label = ''], [string $format = '*M'])
Variables
Methods
Constructor Horde_Mobile_input (line 956)

Constructor

Horde_Mobile_input Horde_Mobile_input (string $name, string $value, [string $label = ''], [string $format = '*M'])
  • string $name: Variable in which the input is sent to the destination URL.
  • string $value: Initial value that will be presented in the input field.
  • string $label: Describes your input field on the surfer's screen/display.
  • string $format: Input format code according to the WAP standard. Allows the WAP user client e.g. to input only digits and no characters. On an HTML generated page this format has no significance.

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