HAW_textarea Class Reference

List of all members.

Public Member Functions

 HAW_textarea ($name, $value, $label, $rows=3, $cols=16)
 set_mode ($mode)
 set_br ($br)

Detailed Description

This class provides a input textarea in a HAW_form object.
Note: Creates no output for VoiceXML. Voice applications can use class HAW_voicerecorder instead.

Examples:

$myArea1 = new HAW_textarea("fb", "", "Feedback");

$myArea2 = new HAW_textarea("msg", "Enter message here ...", "Message", 40 , 5);
$myArea2->set_br(2);

See also:
HAW_form

HAW_voicerecorder


Member Function Documentation

HAW_textarea::HAW_textarea ( name,
value,
label,
rows = 3,
cols = 16 
)

Constructor

Parameters:
name Variable in which the input is sent to the destination URL.
value Initial value (string!) that will be presented in the textarea.
label Describes your textarea on the visitor's screen/display.
rows Rows (optional, default: 3)
cols Columns (optional, default: 16)

HAW_textarea::set_mode ( mode  ) 

Set input mode/istyle for japanese MML/i-mode devices

Parameters:
mode input mode
HAW_INPUT_ALPHABET (default)
HAW_INPUT_KATAKANA
HAW_INPUT_HIRAGANA
HAW_INPUT_NUMERIC

HAW_textarea::set_br ( br  ) 

Sets the number of line breaks (CRLF) after textarea. (default: 1)
Note: Has no effect in WML/HDML.

Parameters:
br Some number of line breaks.


The documentation for this class was generated from the following file:
Generated on Mon Dec 6 21:51:55 2010 for HAWHAW PHP by  doxygen 1.5.1