diff options
author | wei <> | 2007-04-02 06:19:55 +0000 |
---|---|---|
committer | wei <> | 2007-04-02 06:19:55 +0000 |
commit | 1ba083b9bf77b334b773b84d4d9e5f44319d17a2 (patch) | |
tree | ab9b36010b61f22019bb99270b3d4c2aa7381ab7 /tests/FunctionalTests/tickets/protected/pages/Ticket585.php | |
parent | 183b4fefb355d0c607ea4b7cc270035bcc1ffd9e (diff) |
Fixed #585, #586
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket585.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket585.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket585.php b/tests/FunctionalTests/tickets/protected/pages/Ticket585.php new file mode 100644 index 00000000..5932146d --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket585.php @@ -0,0 +1,18 @@ +<?php
+Prado::using('System.Web.UI.ActiveControls.*');
+class Ticket585 extends TPage
+{
+
+ public function ChkDate ($sender, $param)
+ {
+ if ($param->Value == "15-03-2007")
+ {
+ $param->IsValid=false;
+ }
+ else
+ $param->IsValid=true;
+ }
+
+}
+
+?>
\ No newline at end of file |