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/Ticket413.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/Ticket413.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket413.php | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket413.php b/tests/FunctionalTests/tickets/protected/pages/Ticket413.php index 1da32b52..c7a7081a 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket413.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket413.php @@ -1,31 +1,31 @@ -<?php
-
-Prado::using('System.Web.UI.ActiveControls.*');
-
-class Ticket413 extends TPage
-{
- private $_data = array(
- array('id'=>'ITN001','name'=>'Motherboard','quantity'=>1,'price'=>100.00,'imported'=>true),
- array('id'=>'ITN002','name'=>'CPU','quantity'=>1,'price'=>150.00,'imported'=>true),
- array('id'=>'ITN003','name'=>'Harddrive','quantity'=>2,'price'=>80.00,'imported'=>true),
- array('id'=>'ITN004','name'=>'Sound card','quantity'=>1,'price'=>40.00,'imported'=>false));
- public function onLoad($param)
- {
- parent::onLoad($param);
-
- if (!$this->IsPostBack)
- {
- $this->locations_datagrid->setDataSource($this->_data);
- $this->locations_datagrid->dataBind();
- }
-
- }
-
- public function bla($sender, $param)
- {
- $sender->Text = 'a';
- }
-
-}
-
+<?php + +Prado::using('System.Web.UI.ActiveControls.*'); + +class Ticket413 extends TPage +{ + private $_data = array( + array('id'=>'ITN001','name'=>'Motherboard','quantity'=>1,'price'=>100.00,'imported'=>true), + array('id'=>'ITN002','name'=>'CPU','quantity'=>1,'price'=>150.00,'imported'=>true), + array('id'=>'ITN003','name'=>'Harddrive','quantity'=>2,'price'=>80.00,'imported'=>true), + array('id'=>'ITN004','name'=>'Sound card','quantity'=>1,'price'=>40.00,'imported'=>false)); + public function onLoad($param) + { + parent::onLoad($param); + + if (!$this->IsPostBack) + { + $this->locations_datagrid->setDataSource($this->_data); + $this->locations_datagrid->dataBind(); + } + + } + + public function bla($sender, $param) + { + $sender->Text = 'a'; + } + +} + ?>
\ No newline at end of file |