|
HAWHAW PHP |
|||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HAW_textarea
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);
HAW_form
,
HAW_voicerecorder
Constructor Summary | |
HAW_textarea(var $name,
var $value,
var $label,
var $rows,
var $cols)
Constructor |
Method Summary | |
void |
set_br(var $br)
Sets the number of line breaks (CRLF) after textarea. (default: 1) Note: Has no effect in WML/HDML. |
void |
set_mode(var $mode)
Set input mode/istyle for japanese MML/i-mode devices |
Constructor Detail |
public HAW_textarea(var $name, var $value, var $label, var $rows, var $cols)
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 surfer's screen/display.rows
- Rows (optional, default: 3)cols
- Columns (optional, default: 16)Method Detail |
public void set_mode(var $mode)
mode
- input modepublic void set_br(var $br)
br
- Some number of line breaks.
|
© Norbert Huffschmid assembled from PHP source using sed and javadoc |
|||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |