コード例 #1
0
 /**
  * [resultSearchAction description]
  * @param  [type] $keyword [description]
  * @return [type]          [description]
  */
 public function resultSearchAction($keyword)
 {
     $req = new RequestData();
     $per_page = Config::get('nhc/site.policy_perpage');
     $rs_list = $req->getResultByKeywork($keyword, $per_page);
     //var_dump($rs_list);
     if (Request::ajax()) {
         $html = View::make('requestdata.searchresultreqlist')->with('paginator', $rs_list);
         return $html;
     }
 }