summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.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/ReplaceContentTest.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/ReplaceContentTest.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.php82
1 files changed, 41 insertions, 41 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.php b/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.php
index a5358d98..a6df2abd 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.php
@@ -1,42 +1,42 @@
-<?php
-
-class ReplaceContentTest extends TPage
-{
- function appendContent($sender, $param)
- {
- $this->CallbackClient->appendContent($this->subpanel, $this->replacementContent());
- }
-
- function prependContent($sender, $param)
- {
- $this->CallbackClient->prependContent($this->subpanel, $this->replacementContent());
- }
-
- function insertContentBefore($sender, $param)
- {
- $this->CallbackClient->insertContentBefore($this->subpanel, $this->replacementContent());
- }
-
- function insertContentAfter($sender, $param)
- {
- $this->CallbackClient->insertContentAfter($this->subpanel, $this->replacementContent());
- }
-
- function replaceContent($sender, $param)
- {
- $this->CallbackClient->replaceContent($this->subpanel, $this->replacementContent());
- }
-
- function replacementContent()
- {
- if($this->check1->Checked)
- {
- $this->newPanel->Visible=true;
- return $this->newPanel;
- }
- else
- return $this->content->Text;
- }
-}
-
+<?php
+
+class ReplaceContentTest extends TPage
+{
+ function appendContent($sender, $param)
+ {
+ $this->CallbackClient->appendContent($this->subpanel, $this->replacementContent());
+ }
+
+ function prependContent($sender, $param)
+ {
+ $this->CallbackClient->prependContent($this->subpanel, $this->replacementContent());
+ }
+
+ function insertContentBefore($sender, $param)
+ {
+ $this->CallbackClient->insertContentBefore($this->subpanel, $this->replacementContent());
+ }
+
+ function insertContentAfter($sender, $param)
+ {
+ $this->CallbackClient->insertContentAfter($this->subpanel, $this->replacementContent());
+ }
+
+ function replaceContent($sender, $param)
+ {
+ $this->CallbackClient->replaceContent($this->subpanel, $this->replacementContent());
+ }
+
+ function replacementContent()
+ {
+ if($this->check1->Checked)
+ {
+ $this->newPanel->Visible=true;
+ return $this->newPanel;
+ }
+ else
+ return $this->content->Text;
+ }
+}
+
?> \ No newline at end of file