summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/protected/pages/CustomValidator.php
diff options
context:
space:
mode:
authorwei <>2006-04-21 11:41:21 +0000
committerwei <>2006-04-21 11:41:21 +0000
commite1e034ced29b0b9bf11a49798b4fba4d3dd0164d (patch)
tree92120227f58c2463ddb50b1592dde0436d175189 /tests/FunctionalTests/validators/protected/pages/CustomValidator.php
parente57fc66ee3f5259b4f7cbd18a1cd0f6da6176f5d (diff)
Update javascript libraries, rewrote client-side validators, removed some js files, simplified javascript compression.
Diffstat (limited to 'tests/FunctionalTests/validators/protected/pages/CustomValidator.php')
-rw-r--r--tests/FunctionalTests/validators/protected/pages/CustomValidator.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/FunctionalTests/validators/protected/pages/CustomValidator.php b/tests/FunctionalTests/validators/protected/pages/CustomValidator.php
new file mode 100644
index 00000000..ed1f9433
--- /dev/null
+++ b/tests/FunctionalTests/validators/protected/pages/CustomValidator.php
@@ -0,0 +1,14 @@
+<?php
+/*
+ * Created on 16/04/2006
+ */
+
+class CustomValidator extends TPage
+{
+ function CustomValidation($sender, $params)
+ {
+ $params->isValid = $this->text1->Text == "Prado";
+ }
+}
+
+?>