diff options
author | xue <> | 2006-04-16 18:02:31 +0000 |
---|---|---|
committer | xue <> | 2006-04-16 18:02:31 +0000 |
commit | 9db90898be134c9f70c0b334ec071223e60ed76c (patch) | |
tree | c499036f6ca4b350b3f4ae48b0d55cf8308b385d /tests/FunctionalTests/validators/protected/pages/Button.php | |
parent | fc38326ea80e73717fb1d187a16421f7bc1b1b04 (diff) |
Merge from 3.0 branch till 924
Diffstat (limited to 'tests/FunctionalTests/validators/protected/pages/Button.php')
-rw-r--r-- | tests/FunctionalTests/validators/protected/pages/Button.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/FunctionalTests/validators/protected/pages/Button.php b/tests/FunctionalTests/validators/protected/pages/Button.php new file mode 100644 index 00000000..3dbbc7d6 --- /dev/null +++ b/tests/FunctionalTests/validators/protected/pages/Button.php @@ -0,0 +1,27 @@ +<?php
+
+class Button extends TPage
+{
+ public function button1Clicked($sender,$param)
+ {
+ $this->Result1->Text="Button1 is clicked";
+ if($this->IsValid)
+ $this->Result1->Text.=' and valid';
+ }
+
+ public function button2Clicked($sender,$param)
+ {
+ $this->Result2->Text="Button2 is clicked";
+ if($this->IsValid)
+ $this->Result2->Text.=' and valid';
+ }
+
+ public function button3Clicked($sender,$param)
+ {
+ $this->Result3->Text="Button3 is clicked";
+ if($this->IsValid)
+ $this->Result3->Text.=' and valid';
+ }
+}
+
+?>
\ No newline at end of file |