diff options
author | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
commit | 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch) | |
tree | e08bf04f0823650a231227ac3499121270172a23 /tests/FunctionalTests/tickets/protected/pages/Ticket708.php | |
parent | 3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff) |
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket708.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket708.php | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket708.php b/tests/FunctionalTests/tickets/protected/pages/Ticket708.php index b57aa444..2eca39d9 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket708.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket708.php @@ -1,30 +1,30 @@ -<?php
-
-Prado::using('System.Web.UI.ActiveControls.*');
-class Ticket708 extends TPage
-{
- public function onLoad ($param)
- {
- if (!$this->getIsCallback() && !$this->getIsPostBack())
- {
- $this->grid->dataSource=$this->getData();
- $this->grid->dataBind();
- }
- }
-
- protected function getData()
- {
- return array (
- array ('RadioValue' => 1, 'Text' => 'Radio 1'),
- array ('RadioValue' => 2, 'Text' => 'Radio 2'),
- array ('RadioValue' => 3, 'Text' => 'Radio 3'),
- array ('RadioValue' => 4, 'Text' => 'Radio 4'),
- );
- }
-
- public function ChangeRadio ($sender, $param)
- {
- $this->Result->setText("You have selected Radio Button #".$sender->getValue());
- }
-}
+<?php + +Prado::using('System.Web.UI.ActiveControls.*'); +class Ticket708 extends TPage +{ + public function onLoad ($param) + { + if (!$this->getIsCallback() && !$this->getIsPostBack()) + { + $this->grid->dataSource=$this->getData(); + $this->grid->dataBind(); + } + } + + protected function getData() + { + return array ( + array ('RadioValue' => 1, 'Text' => 'Radio 1'), + array ('RadioValue' => 2, 'Text' => 'Radio 2'), + array ('RadioValue' => 3, 'Text' => 'Radio 3'), + array ('RadioValue' => 4, 'Text' => 'Radio 4'), + ); + } + + public function ChangeRadio ($sender, $param) + { + $this->Result->setText("You have selected Radio Button #".$sender->getValue()); + } +} ?>
\ No newline at end of file |