summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/protected/pages/CustomValidator.php
diff options
context:
space:
mode:
authorxue <>2006-04-21 12:36:06 +0000
committerxue <>2006-04-21 12:36:06 +0000
commite392ecbf6e422825083bc7204eacb7090619a47c (patch)
tree8f2dcc8302f223ac2c71efd762417eddf84d62aa /tests/FunctionalTests/validators/protected/pages/CustomValidator.php
parentc54a230a5926086ff1b69a0dd7e6352dbc0b40ff (diff)
Merge from 3.0 branch till 953.
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";
+ }
+}
+
+?>