summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActiveHiddenFieldTest.php
blob: 1f7a8a2a7aba10fc9054a28480258da99e89cf87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

class ActiveHiddenFieldTest extends TPage
{
    public function onSetValue($sender, $param)
    {
        $this->HiddenFieldEmpty->setValue('No longer empty');
        $this->ResponseLabel->setText($this->HiddenFieldEmpty->getValue());
    }
    
    public function onGetValue($sender, $param)
    {
        $this->ResponseLabel->setText($this->HiddenFieldUsed->getValue());
    }
    
    public function onGetBothValues($sender, $param)
    {
        $this->ResponseLabel->setText($this->HiddenFieldEmpty->getValue().'|'.$this->HiddenFieldUsed->getValue());
    }
}

?>