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 --- .../protected/pages/PopulateActiveList.php | 66 +++++++++++----------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'tests/FunctionalTests/active-controls/protected/pages/PopulateActiveList.php') diff --git a/tests/FunctionalTests/active-controls/protected/pages/PopulateActiveList.php b/tests/FunctionalTests/active-controls/protected/pages/PopulateActiveList.php index 022f6dad..8a1ba198 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/PopulateActiveList.php +++ b/tests/FunctionalTests/active-controls/protected/pages/PopulateActiveList.php @@ -1,34 +1,34 @@ -list1->Items->clear(); - for($i = 0,$k=count($data); $i<$k; $i++) - { - $item = new TListItem($data[$i], $i); - $this->list1->Items[] = $item; - } - } - - public function populate_list2($sender, $param) - { - $data = array('Hello', 'World', 'Prado'); - $this->list2->Items->clear(); - for($i = 0,$k=count($data); $i<$k; $i++) - { - $item = new TListItem($data[$i], $i); - $this->list2->Items[] = $item; - } - } - - public function list_changed($sender, $param) - { - $text = $sender->SelectedItem ? $sender->SelectedItem->Text : 'Not selected'; - $this->label1->Text = $sender->ID . ': '.$text; - } -} - +list1->Items->clear(); + for($i = 0,$k=count($data); $i<$k; $i++) + { + $item = new TListItem($data[$i], $i); + $this->list1->Items[] = $item; + } + } + + public function populate_list2($sender, $param) + { + $data = array('Hello', 'World', 'Prado'); + $this->list2->Items->clear(); + for($i = 0,$k=count($data); $i<$k; $i++) + { + $item = new TListItem($data[$i], $i); + $this->list2->Items[] = $item; + } + } + + public function list_changed($sender, $param) + { + $text = $sender->SelectedItem ? $sender->SelectedItem->Text : 'Not selected'; + $this->label1->Text = $sender->ID . ': '.$text; + } +} + ?> \ No newline at end of file -- cgit v1.2.3