コード例 #1
0
ファイル: helpers.php プロジェクト: shittyc0de/AplikasiLC
 public static function namaCalon($id)
 {
     $cc = CalonCustomer::find($id);
     if (!$cc) {
         return false;
     }
     return $cc->nama;
 }
コード例 #2
0
 /**
  * Show the form for editing the specified caloncustomer.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $calon = CalonCustomer::find($id);
     return View::make('admin.caloncustomers.edit', compact('calon'));
 }