예제 #1
0
 /**
  * Store a newly created resource in storage.
  *
  * @param  \Illuminate\Http\Request  $request
  * @return \Illuminate\Http\Response
  */
 public function view()
 {
     $mainissue = MainIssue::All();
     $subissue = SubIssue::All();
     return View('register.view')->with(['mainissue' => $mainissue, 'subissue' => $subissue]);
 }
예제 #2
0
function getsubissuename($id)
{
    $subissuename = SubIssue::findorfail($id);
    return $subissuename->subissue_name;
}
예제 #3
0
파일: Helper.php 프로젝트: younus93/cce
 public function getsubissue()
 {
     $subissue = SubIssue::All();
     return $subissue;
 }