Example #1
0
 /**
  * [getListUserTraining description]
  * @return [type] [description]
  */
 public function getListUserTraining()
 {
     //var_dump(Training::all()->toArray());exit;
     $att_file = self::downloadFileDetail(1);
     $rs = Training::all();
     // var_dump($rs->toArray());exit;
     return View::make('train.trainlist')->with('results', $rs)->with('att_file', $att_file);
 }