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 --- .../ActiveControls/Samples/TAutoComplete/Home.php | 68 +++++++++++----------- 1 file changed, 34 insertions(+), 34 deletions(-) (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete') diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.php index ca8a9e59..290995c7 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.php +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.php @@ -1,34 +1,34 @@ -getToken(); - // Sender is the Suggestions repeater - $sender->DataSource=$this->getDummyData($token); - $sender->dataBind(); - } - - public function suggestionSelected1($sender,$param) { - $id=$sender->Suggestions->DataKeys[ $param->selectedIndex ]; - $this->Selection1->Text='Selected ID: '.$id; - } - - public function suggestionSelected2($sender,$param) { - $id=$sender->Suggestions->DataKeys[ $param->selectedIndex ]; - $this->Selection2->Text='Selected ID: '.$id; - } - - public function getDummyData($token) { - // You would look for matches to the given token here - return array( - array('id'=>1, 'name'=>'John'), - array('id'=>2, 'name'=>'Paul'), - array('id'=>3, 'name'=>'George'), - array('id'=>4, 'name'=>'Ringo') - ); - } -} - -?> +getToken(); + // Sender is the Suggestions repeater + $sender->DataSource=$this->getDummyData($token); + $sender->dataBind(); + } + + public function suggestionSelected1($sender,$param) { + $id=$sender->Suggestions->DataKeys[ $param->selectedIndex ]; + $this->Selection1->Text='Selected ID: '.$id; + } + + public function suggestionSelected2($sender,$param) { + $id=$sender->Suggestions->DataKeys[ $param->selectedIndex ]; + $this->Selection2->Text='Selected ID: '.$id; + } + + public function getDummyData($token) { + // You would look for matches to the given token here + return array( + array('id'=>1, 'name'=>'John'), + array('id'=>2, 'name'=>'Paul'), + array('id'=>3, 'name'=>'George'), + array('id'=>4, 'name'=>'Ringo') + ); + } +} + +?> -- cgit v1.2.3