summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php
diff options
context:
space:
mode:
authorwei <>2006-09-13 23:33:41 +0000
committerwei <>2006-09-13 23:33:41 +0000
commit9f2905f5e2a6d0ab33e4e2d82162183cfd63a042 (patch)
tree19ac593839f1003ef91d8b4a0d7e8e25fbf460e3 /demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php
parent348fb25264f6cc9251f5ae9cb8c7a8a1013e2d67 (diff)
Fixed #376
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php')
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php
new file mode 100644
index 00000000..102afcb0
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php
@@ -0,0 +1,11 @@
+<?php
+
+class Home extends TPage
+{
+ public function validator1_onvalidate($sender, $param)
+ {
+ $param->IsValid = $this->textbox1->Text == 'Prado';
+ }
+}
+
+?> \ No newline at end of file