blob: 22d2c79c4bd115dac6af7942302d6a8f02a904cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?php
class ActiveRadioButtonListTest extends TPage
{
function list1_callback($sender, $param)
{
$values = $sender->getSelectedValues();
var_dump($values);
$this->label1->setText("Selection: ".implode(', ', $values));
}
function select_index_4()
{
$this->list1->setSelectedIndex(4);
}
function clear_selections()
{
$this->list1->clearSelection();
}
function select_value_1()
{
$this->list1->setSelectedValue("value 1");
}
}
?>
|