summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.php
diff options
context:
space:
mode:
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