summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/protected/pages/LinkButton.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/validators/protected/pages/LinkButton.php')
-rw-r--r--tests/FunctionalTests/validators/protected/pages/LinkButton.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/FunctionalTests/validators/protected/pages/LinkButton.php b/tests/FunctionalTests/validators/protected/pages/LinkButton.php
new file mode 100644
index 00000000..5130dd01
--- /dev/null
+++ b/tests/FunctionalTests/validators/protected/pages/LinkButton.php
@@ -0,0 +1,27 @@
+<?php
+
+class LinkButton 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