Public Member Functions | |
| HAW_table () | |
| add_row ($row) | |
| set_voice_text ($text, $audio_src="") | |
Note: Not all WAP clients are able to display tables properly! HDML is not supporting tables at all. For HDML users the table's content will be generated column-by-column, respectively row-by-row, where each table cell will result in one separate line on the display.
Examples:
...
$myTable = new HAW_table();
$row1 = new HAW_row();
$row1->add_column($image1);
$row1->add_column($text1);
$myTable->add_row($row1);
$row2 = new HAW_row();
$row2->add_column($image2);
$row2->add_column($text2);
$myTable->add_row($row2);
$myDeck->add_table($myTable);
...
| HAW_table::HAW_table | ( | ) |
Constructor
| HAW_table::add_row | ( | $ | row | ) |
| HAW_table::set_voice_text | ( | $ | text, | |
| $ | audio_src = "" | |||
| ) |
Sets text to be spoken by voice browsers.
Note: Tables should be avoided whenever voice users are targeted. Anyway, the HAWHAW API allows to assign voice output to HAW_table objects in order to say some introducing words before the table content is spoken.
| text | Some helpful text. | |
| audio_src | Some audio file (e.g. *.wav file) to play (optional). |
1.5.1