Exemplo n.º 1
0
 /**
  * [reqListSearchAction description]
  * @param  [type] $keyword  [description]
  * @param  [type] $req_type [description]
  * @return [type]           [description]
  */
 public function reqListSearchAction($keyword)
 {
     $req = new RequestData();
     $per_page = Config::get('nhc/site.policy_perpage');
     $req_list = $req->getReqDataByKeywork($keyword, $per_page);
     if (Request::ajax()) {
         $html = View::make('requestdata.searchreqlist')->with('paginator', $req_list);
         return $html;
     }
 }