diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.php b/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.php new file mode 100644 index 00000000..bf8d730b --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.php @@ -0,0 +1,11 @@ +<?php
+
+class CallbackCustomValidatorTest extends TPage
+{
+ function validate_text1($sender, $param)
+ {
+ $param->IsValid = $param->Value == 'Prado';
+ }
+}
+
+?>
\ No newline at end of file |