summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket504.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/tickets/protected/pages/Ticket504.php
parent3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff)
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket504.php')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket504.php48
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket504.php b/tests/FunctionalTests/tickets/protected/pages/Ticket504.php
index 7ad8e989..3d1bdfb6 100644
--- a/tests/FunctionalTests/tickets/protected/pages/Ticket504.php
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket504.php
@@ -1,25 +1,25 @@
-<?php
-
-Prado::using('System.Web.UI.ActiveControls.*');
-
-class Ticket504 extends TPage
-{
- private $panels = array('panelA', 'panelB', 'panelC','panelD',);
- private function showPanel($id, $param) {
- foreach($this->panels as $panel) {
- if($id == $panel) {
- $this->$panel->setVisible(true);
- } else {
- $this->$panel->setVisible(false);
- }
- }
- }
- public function changePanel($sender,$param){
- $this->showPanel($param->CallbackParameter, $param);
- }
- public function loadData_Callback($sender, $param){
- die("parameter is ".$param->CallbackParameter);
- }
-}
-
+<?php
+
+Prado::using('System.Web.UI.ActiveControls.*');
+
+class Ticket504 extends TPage
+{
+ private $panels = array('panelA', 'panelB', 'panelC','panelD',);
+ private function showPanel($id, $param) {
+ foreach($this->panels as $panel) {
+ if($id == $panel) {
+ $this->$panel->setVisible(true);
+ } else {
+ $this->$panel->setVisible(false);
+ }
+ }
+ }
+ public function changePanel($sender,$param){
+ $this->showPanel($param->CallbackParameter, $param);
+ }
+ public function loadData_Callback($sender, $param){
+ die("parameter is ".$param->CallbackParameter);
+ }
+}
+
?> \ No newline at end of file