summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php
diff options
context:
space:
mode:
authorctrlaltca <>2012-07-12 11:21:01 +0000
committerctrlaltca <>2012-07-12 11:21:01 +0000
commit903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch)
treee08bf04f0823650a231227ac3499121270172a23 /tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php
parent3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff)
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php72
1 files changed, 36 insertions, 36 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php b/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php
index 54c99c64..edc68ae4 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php
@@ -1,37 +1,37 @@
-<?php
-
-class CustomValidatorByPass extends TPage
-{
- public function onLoad($param)
- {
-
- parent::onLoad($param);
-
- $Client = $this->validator2->getActiveControl()->getClientSide();
-
- $Client->setOnLoading('$(\'loginLoader\').show();');
- $Client->setOnComplete('$(\'loginLoader\').hide();');
-
- //$Client->setOnValidationError('alert(\'Authentication Failed\');');
- //$Client->setOnValidationSuccess('new Effect.Fade(\'loginBox\')');
-
- }
-
- public function validateUser($sender,$param)
- {
- $param->IsValid = $this->Password->Text=='test';
- }
-
- public function doLogin($sender,$param)
- {
-
- /* This isnt even getting called */
- if($this->Page->IsValid)
- {
- // Re-Render the active panel
- }
-
- }
-}
-
+<?php
+
+class CustomValidatorByPass extends TPage
+{
+ public function onLoad($param)
+ {
+
+ parent::onLoad($param);
+
+ $Client = $this->validator2->getActiveControl()->getClientSide();
+
+ $Client->setOnLoading('$(\'loginLoader\').show();');
+ $Client->setOnComplete('$(\'loginLoader\').hide();');
+
+ //$Client->setOnValidationError('alert(\'Authentication Failed\');');
+ //$Client->setOnValidationSuccess('new Effect.Fade(\'loginBox\')');
+
+ }
+
+ public function validateUser($sender,$param)
+ {
+ $param->IsValid = $this->Password->Text=='test';
+ }
+
+ public function doLogin($sender,$param)
+ {
+
+ /* This isnt even getting called */
+ if($this->Page->IsValid)
+ {
+ // Re-Render the active panel
+ }
+
+ }
+}
+
?> \ No newline at end of file