Beispiel #1
0
 public function actionResult()
 {
     $lot = new Model_Lot();
     $category = $this->request->cat;
     $result = $lot->searchProductWithCategory($this->request, $category);
     //var_dump($this->request);die();
     $this->view->searchText = $this->request->searchText;
     $this->view->cat = $this->request->cat;
     $this->view->categories = $result;
     $this->view->render('result');
     $this->view->display();
 }