summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php')
-rw-r--r--tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php b/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php
index 7756566c..83546617 100644
--- a/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php
+++ b/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php
@@ -1,20 +1,20 @@
-<?php
-/*
- * Created on 27/03/2007
- */
-
-class ConditionalValidation extends TPage
-{
- function check_validate($sender, $params)
- {
- $sender->enabled = $this->check1->checked;
- }
-
- function onPreRender($param)
- {
- //always re-enable the validator2 so as to display the client-side validator
- $this->validator2->enabled=true;
- }
-}
-
-?>
+<?php
+/*
+ * Created on 27/03/2007
+ */
+
+class ConditionalValidation extends TPage
+{
+ function check_validate($sender, $params)
+ {
+ $sender->enabled = $this->check1->checked;
+ }
+
+ function onPreRender($param)
+ {
+ //always re-enable the validator2 so as to display the client-side validator
+ $this->validator2->enabled=true;
+ }
+}
+
+?>