summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.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/MyTabPanelTest.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/MyTabPanelTest.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.php82
1 files changed, 41 insertions, 41 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.php b/tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.php
index 723af42d..6736138d 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.php
@@ -1,42 +1,42 @@
-<?php
-
-class MyTabPanelTest extends TPage
-{
- private $panels = array('pnlContentsA', 'pnlContentsB', 'pnlContentsC', );
-
- private function showPanel($id, $param)
- {
- foreach($this->panels as $panel)
- {
- if($id == $panel)
- {
- $this->$panel->setAttribute('style', 'display: block;');
- $this->$panel->setVisible(true);
- $this->$panel->render($param->NewWriter);
- }
- else
- {
- $this->$panel->setVisible(false);
- }
- }
- }
-
- public function onShowPanelA($sender, $param)
- {
- $this->showPanel('pnlContentsA', $param);
- }
-
- public function onShowPanelB($sender, $param)
- {
- $this->showPanel('pnlContentsB', $param);
- }
-
- public function onShowPanelC($sender, $param)
- {
- $this->showPanel('pnlContentsC', $param);
- }
-}
-
-
-
+<?php
+
+class MyTabPanelTest extends TPage
+{
+ private $panels = array('pnlContentsA', 'pnlContentsB', 'pnlContentsC', );
+
+ private function showPanel($id, $param)
+ {
+ foreach($this->panels as $panel)
+ {
+ if($id == $panel)
+ {
+ $this->$panel->setAttribute('style', 'display: block;');
+ $this->$panel->setVisible(true);
+ $this->$panel->render($param->NewWriter);
+ }
+ else
+ {
+ $this->$panel->setVisible(false);
+ }
+ }
+ }
+
+ public function onShowPanelA($sender, $param)
+ {
+ $this->showPanel('pnlContentsA', $param);
+ }
+
+ public function onShowPanelB($sender, $param)
+ {
+ $this->showPanel('pnlContentsB', $param);
+ }
+
+ public function onShowPanelC($sender, $param)
+ {
+ $this->showPanel('pnlContentsC', $param);
+ }
+}
+
+
+
?> \ No newline at end of file