diff options
author | wei <> | 2006-09-13 23:33:41 +0000 |
---|---|---|
committer | wei <> | 2006-09-13 23:33:41 +0000 |
commit | 9f2905f5e2a6d0ab33e4e2d82162183cfd63a042 (patch) | |
tree | 19ac593839f1003ef91d8b4a0d7e8e25fbf460e3 /demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php | |
parent | 348fb25264f6cc9251f5ae9cb8c7a8a1013e2d67 (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.php | 11 |
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 |