From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- .../Controls/Samples/TRepeater/RegionDisplay.php | 54 +++++++++++----------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'demos/quickstart/protected/pages/Controls/Samples/TRepeater/RegionDisplay.php') diff --git a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/RegionDisplay.php b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/RegionDisplay.php index 40d1841e..4f7ab6c2 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/RegionDisplay.php +++ b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/RegionDisplay.php @@ -1,28 +1,28 @@ -Data is available which - * refers to the data row associated with the parent repeater item. - */ - public function onDataBinding($param) - { - parent::onDataBinding($param); - $this->Repeater->DataSource=$this->Data['detail']; - $this->Repeater->dataBind(); - } - - public function itemCreated($sender,$param) - { - static $itemIndex=0; - $item=$param->Item; - if($item->ItemType==='Item' || $item->ItemType==='AlternatingItem') - $item->Row->BackColor=$itemIndex%2 ? "#BFCFFF" : "#E6ECFF"; - $itemIndex++; - } -} - +Data is available which + * refers to the data row associated with the parent repeater item. + */ + public function onDataBinding($param) + { + parent::onDataBinding($param); + $this->Repeater->DataSource=$this->Data['detail']; + $this->Repeater->dataBind(); + } + + public function itemCreated($sender,$param) + { + static $itemIndex=0; + $item=$param->Item; + if($item->ItemType==='Item' || $item->ItemType==='AlternatingItem') + $item->Row->BackColor=$itemIndex%2 ? "#BFCFFF" : "#E6ECFF"; + $itemIndex++; + } +} + ?> \ No newline at end of file -- cgit v1.2.3