summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket585.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket585.php')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket585.php18
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