diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/RadioButtonListTest.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/RadioButtonListTest.php | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/RadioButtonListTest.php b/tests/FunctionalTests/active-controls/protected/pages/RadioButtonListTest.php index 10c45aa3..eb77073b 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/RadioButtonListTest.php +++ b/tests/FunctionalTests/active-controls/protected/pages/RadioButtonListTest.php @@ -1,28 +1,28 @@ -<?php
-
-class RadioButtonListTest extends TPage
-{
- public function radChange($sender,$param){
- $choice = 'Choice : ';
- switch($this->rad_button_list->SelectedValue){
- case 'yes':
- $choice.='Yes :-)';
- break;
- case 'no':
- $choice.='No :-(';
- break;
- case 'whynot':
- $choice.='Why not ???';
- break;
- }
- $this->label->Text = $choice;
- }
-
- public function action($sender,$param){
- $this->label->Text = 'Action...';
- }
-
-}
-
-
+<?php + +class RadioButtonListTest extends TPage +{ + public function radChange($sender,$param){ + $choice = 'Choice : '; + switch($this->rad_button_list->SelectedValue){ + case 'yes': + $choice.='Yes :-)'; + break; + case 'no': + $choice.='No :-('; + break; + case 'whynot': + $choice.='Why not ???'; + break; + } + $this->label->Text = $choice; + } + + public function action($sender,$param){ + $this->label->Text = 'Action...'; + } + +} + + ?>
\ No newline at end of file |