Пример #1
0
 /**
  * Store a newly created resource in storage.
  *
  * @return Response
  */
 public function store()
 {
     $examTypes = new ExamType();
     $examTypes->name = Input::get('name');
     $examTypes->save();
     Session::flash('message', 'You have successfully added type of exam');
     return Redirect::to('dashboard/admin/exam-types');
 }
Пример #2
0
 public function run()
 {
     $exam_types = [["id" => 1, "name" => "Companion dog test", "short_name" => "BH", "group" => "BH", "score" => 20], ["id" => 3, "name" => "Training for endurance test", "short_name" => "AD", "group" => "BH"], ["id" => 5, "name" => "", "short_name" => "VT", "group" => "BH"], ["id" => 6, "name" => "", "short_name" => "BH A", "group" => "BH"], ["id" => 7, "name" => "", "short_name" => "VZH", "group" => "BH"], ["id" => 8, "name" => "", "short_name" => "FP", "group" => "BH"], ["id" => 9, "name" => "", "short_name" => "BH 1", "group" => "BH"], ["id" => 10, "name" => "", "short_name" => "BH 2", "group" => "BH"], ["id" => 11, "name" => "", "short_name" => "BH 3", "group" => "BH"], ["id" => 12, "name" => "", "short_name" => "BGH A", "group" => "BH"], ["id" => 13, "name" => "", "short_name" => "BGH 1", "group" => "BH"], ["id" => 14, "name" => "", "short_name" => "BGH 2", "group" => "BH"], ["id" => 15, "name" => "", "short_name" => "BGH 3", "group" => "BH"], ["id" => 16, "name" => "", "short_name" => "UV", "group" => "BH"], ["id" => 17, "name" => "", "short_name" => "BHP 1", "group" => "BH"], ["id" => 18, "name" => "", "short_name" => "BHP 2", "group" => "BH"], ["id" => 19, "name" => "", "short_name" => "BHP 3", "group" => "BH"], ["id" => 20, "name" => "", "short_name" => "BHP-G", "group" => "BH"], ["id" => 21, "name" => "", "short_name" => "BHPS 1", "group" => "BH"], ["id" => 22, "name" => "", "short_name" => "BHPS 2", "group" => "BH"], ["id" => 23, "name" => "", "short_name" => "BHPS 3", "group" => "BH"], ["id" => 24, "name" => "", "short_name" => "HL", "group" => "BH"], ["id" => 25, "name" => "", "short_name" => "BhFK95", "group" => "BH"], ["id" => 26, "name" => "", "short_name" => "BhFK", "group" => "BH"], ["id" => 27, "name" => "", "short_name" => "PH", "group" => "BH"], ["id" => 28, "name" => "", "short_name" => "BH-SK", "group" => "BH"], ["id" => 29, "name" => "", "short_name" => "IPO 1", "group" => "IPO"], ["id" => 30, "name" => "", "short_name" => "IPO 2", "group" => "IPO"], ["id" => 31, "name" => "", "short_name" => "IPO 3", "group" => "IPO"], ["id" => 32, "name" => "", "short_name" => "IPO V", "group" => "IPO"], ["id" => 33, "name" => "", "short_name" => "SchH 1", "group" => "IPO"], ["id" => 34, "name" => "", "short_name" => "SchH 2", "group" => "IPO"], ["id" => 35, "name" => "", "short_name" => "SchH 3", "group" => "IPO"], ["id" => 36, "name" => "", "short_name" => "SchH A", "group" => "IPO"], ["id" => 37, "name" => "", "short_name" => "VPG 1", "group" => "IPO"], ["id" => 38, "name" => "", "short_name" => "VPG 2", "group" => "IPO"], ["id" => 39, "name" => "", "short_name" => "VPG 3", "group" => "IPO"], ["id" => 40, "name" => "", "short_name" => "VPG A", "group" => "IPO"], ["id" => 41, "name" => "", "short_name" => "APr 1", "group" => "IPO"], ["id" => 42, "name" => "", "short_name" => "APr 2", "group" => "IPO"], ["id" => 43, "name" => "", "short_name" => "APr 3", "group" => "IPO"], ["id" => 44, "name" => "", "short_name" => "UPr 1", "group" => "IPO"], ["id" => 45, "name" => "", "short_name" => "UPr 2", "group" => "IPO"], ["id" => 46, "name" => "", "short_name" => "UPr 3", "group" => "IPO"], ["id" => 47, "name" => "", "short_name" => "SPr 1", "group" => "IPO"], ["id" => 48, "name" => "", "short_name" => "SPr 2", "group" => "IPO"], ["id" => 49, "name" => "", "short_name" => "SPr 3", "group" => "IPO"], ["id" => 50, "name" => "", "short_name" => "ÖPO 1", "group" => "IPO"], ["id" => 51, "name" => "", "short_name" => "ÖPO 2", "group" => "IPO"], ["id" => 52, "name" => "", "short_name" => "ÖPO 3", "group" => "IPO"], ["id" => 53, "name" => "", "short_name" => "PSH 1", "group" => "IPO"], ["id" => 54, "name" => "", "short_name" => "PSH 2", "group" => "IPO"], ["id" => 55, "name" => "", "short_name" => "PSH 3", "group" => "IPO"], ["id" => 56, "name" => "", "short_name" => "RCI 1", "group" => "IPO"], ["id" => 57, "name" => "", "short_name" => "RCI 2", "group" => "IPO"], ["id" => 58, "name" => "", "short_name" => "RCI 3", "group" => "IPO"], ["id" => 59, "name" => "", "short_name" => "Br. RCI", "group" => "IPO"], ["id" => 60, "name" => "", "short_name" => "OKD 1", "group" => "IPO"], ["id" => 61, "name" => "", "short_name" => "OKD 2", "group" => "IPO"], ["id" => 62, "name" => "", "short_name" => "OKD 3", "group" => "IPO"], ["id" => 63, "name" => "", "short_name" => "Br. Cpg", "group" => "IPO"], ["id" => 64, "name" => "", "short_name" => "Br. Def", "group" => "IPO"], ["id" => 65, "name" => "", "short_name" => "Br. T", "group" => "IPO"], ["id" => 66, "name" => "", "short_name" => "IP 1", "group" => "IPO"], ["id" => 67, "name" => "", "short_name" => "IP 2", "group" => "IPO"], ["id" => 68, "name" => "", "short_name" => "IP 3", "group" => "IPO"], ["id" => 69, "name" => "", "short_name" => "SVV 1", "group" => "IPO"], ["id" => 70, "name" => "", "short_name" => "SVV 2", "group" => "IPO"], ["id" => 71, "name" => "", "short_name" => "SVV 3", "group" => "IPO"], ["id" => 72, "name" => "", "short_name" => "SL 1", "group" => "IPO"], ["id" => 73, "name" => "", "short_name" => "SL 2", "group" => "IPO"], ["id" => 74, "name" => "", "short_name" => "SL 3", "group" => "IPO"], ["id" => 78, "name" => "", "short_name" => "FH 1", "group" => "Tracking"], ["id" => 79, "name" => "", "short_name" => "FH 2", "group" => "Tracking"], ["id" => 80, "name" => "", "short_name" => "FH", "group" => "Tracking"], ["id" => 81, "name" => "", "short_name" => "IPO FH", "group" => "Tracking"], ["id" => 82, "name" => "", "short_name" => "FPr 1", "group" => "Tracking"], ["id" => 83, "name" => "", "short_name" => "FPr 2", "group" => "Tracking"], ["id" => 84, "name" => "", "short_name" => "FPr 3", "group" => "Tracking"], ["id" => 85, "name" => "", "short_name" => "StPr 1", "group" => "Tracking"], ["id" => 86, "name" => "", "short_name" => "StPr 2", "group" => "Tracking"], ["id" => 87, "name" => "", "short_name" => "StPr 3", "group" => "Tracking"], ["id" => 88, "name" => "", "short_name" => "PFH 1", "group" => "Tracking"], ["id" => 89, "name" => "", "short_name" => "PFH 2", "group" => "Tracking"], ["id" => 90, "name" => "", "short_name" => "PFH 3", "group" => "Tracking"], ["id" => 91, "name" => "", "short_name" => "FH 3", "group" => "Tracking"], ["id" => 92, "name" => "", "short_name" => "FH97 1", "group" => "Tracking"], ["id" => 93, "name" => "", "short_name" => "FH97 2", "group" => "Tracking"], ["id" => 94, "name" => "", "short_name" => "FH97 3", "group" => "Tracking"], ["id" => 95, "name" => "", "short_name" => "SH 1", "group" => "Tracking"], ["id" => 96, "name" => "", "short_name" => "SH 2", "group" => "Tracking"], ["id" => 97, "name" => "", "short_name" => "SH 3", "group" => "Tracking"], ["id" => 98, "name" => "", "short_name" => "SPH 1", "group" => "Tracking"], ["id" => 99, "name" => "", "short_name" => "SPH 2", "group" => "Tracking"], ["id" => 100, "name" => "", "short_name" => "TK 1", "group" => "Tracking"], ["id" => 101, "name" => "", "short_name" => "TK 2", "group" => "Tracking"], ["id" => 102, "name" => "", "short_name" => "TK 3", "group" => "Tracking"], ["id" => 103, "name" => "", "short_name" => "Br. P.", "group" => "Tracking"], ["id" => 104, "name" => "Tracking Dog", "short_name" => "TD 1", "group" => "Tracking"], ["id" => 105, "name" => "Tracking Dog", "short_name" => "TD 2", "group" => "Tracking"], ["id" => 106, "name" => "Tracking Dog", "short_name" => "TD 3", "group" => "Tracking"], ["id" => 107, "name" => "", "short_name" => "Ã-FH 1", "group" => "Tracking"], ["id" => 108, "name" => "", "short_name" => "Ã-FH 2", "group" => "Tracking"], ["id" => 109, "name" => "", "short_name" => "Ã-FH 3", "group" => "Tracking"], ["id" => 110, "name" => "", "short_name" => "JK 1", "group" => "Tracking"], ["id" => 111, "name" => "", "short_name" => "JK 2", "group" => "Tracking"], ["id" => 112, "name" => "", "short_name" => "JK 3", "group" => "Tracking"], ["id" => 113, "name" => "", "short_name" => "OB Beg.", "group" => "Obedience"], ["id" => 114, "name" => "", "short_name" => "OB 1", "group" => "Obedience"], ["id" => 115, "name" => "", "short_name" => "OB 2", "group" => "Obedience"], ["id" => 116, "name" => "", "short_name" => "OB 3", "group" => "Obedience"], ["id" => 117, "name" => "", "short_name" => "G&G 1", "group" => "Obedience"], ["id" => 118, "name" => "", "short_name" => "G&G 2", "group" => "Obedience"], ["id" => 119, "name" => "", "short_name" => "G&G 3", "group" => "Obedience"], ["id" => 120, "name" => "", "short_name" => "Br.Obe", "group" => "Obedience"], ["id" => 121, "name" => "", "short_name" => "LP 1", "group" => "Obedience"], ["id" => 122, "name" => "", "short_name" => "LP 2", "group" => "Obedience"], ["id" => 123, "name" => "", "short_name" => "LP Elite", "group" => "Obedience"], ["id" => 124, "name" => "", "short_name" => "OB 4", "group" => "Obedience"], ["id" => 125, "name" => "", "short_name" => "RO Nov.", "group" => "Obedience"], ["id" => 126, "name" => "", "short_name" => "RO 1", "group" => "Obedience"], ["id" => 127, "name" => "", "short_name" => "RO 2", "group" => "Obedience"], ["id" => 128, "name" => "", "short_name" => "RO 3", "group" => "Obedience"], ["id" => 129, "name" => "", "short_name" => "RLD N", "group" => "Obedience"], ["id" => 130, "name" => "", "short_name" => "RLD F", "group" => "Obedience"], ["id" => 131, "name" => "", "short_name" => "RLD A", "group" => "Obedience"], ["id" => 132, "name" => "", "short_name" => "RLD M", "group" => "Obedience"], ["id" => 133, "name" => "Beginner Obedience", "short_name" => "BpB", "group" => "Obedience"], ["id" => 134, "name" => "Rally Obedience Beginner", "short_name" => "RBM", "group" => "Obedience"], ["id" => 135, "name" => "Companion Dog", "short_name" => "CD", "group" => "Obedience"], ["id" => 136, "name" => "Companion Dog Excellent", "short_name" => "CDX", "group" => "Obedience"], ["id" => 137, "name" => "Utility Dog", "short_name" => "UD", "group" => "Obedience"], ["id" => 138, "name" => "Pre-Utility Dog", "short_name" => "PUTD", "group" => "Obedience"], ["id" => 139, "name" => "Pre-Companion Dog Excellent", "short_name" => "PCDX", "group" => "Obedience"], ["id" => 140, "name" => "Pre-Companion Dog", "short_name" => "PCD", "group" => "Obedience"], ["id" => 141, "name" => "Obedience Master", "short_name" => "OM", "group" => "Obedience"], ["id" => 142, "name" => "Obedience Grand Master", "short_name" => "OGM", "group" => "Obedience"], ["id" => 143, "name" => "Graduate Open", "short_name" => "GO", "group" => "Obedience"], ["id" => 144, "name" => "Graduate Novice", "short_name" => "GN", "group" => "Obedience"], ["id" => 145, "name" => "", "short_name" => "CCD", "group" => "Obedience"], ["id" => 146, "name" => "", "short_name" => "A 0", "group" => "Agility"], ["id" => 147, "name" => "", "short_name" => "A 1", "group" => "Agility"], ["id" => 148, "name" => "", "short_name" => "A 2", "group" => "Agility"], ["id" => 149, "name" => "", "short_name" => "A 3", "group" => "Agility"], ["id" => 150, "name" => "", "short_name" => "DPO 1", "group" => "Police/Military"], ["id" => 151, "name" => "", "short_name" => "DPO 2", "group" => "Police/Military"], ["id" => 152, "name" => "", "short_name" => "WPO", "group" => "Police/Military"], ["id" => 153, "name" => "", "short_name" => "DP 1", "group" => "Police/Military"], ["id" => 154, "name" => "", "short_name" => "DP 2", "group" => "Police/Military"], ["id" => 155, "name" => "", "short_name" => "SpH S", "group" => "Police/Military"], ["id" => 156, "name" => "", "short_name" => "SpH B", "group" => "Police/Military"], ["id" => 157, "name" => "", "short_name" => "ZH 1", "group" => "Police/Military"], ["id" => 158, "name" => "", "short_name" => "ZH 2", "group" => "Police/Military"], ["id" => 159, "name" => "", "short_name" => "ZH 3", "group" => "Police/Military"], ["id" => 160, "name" => "", "short_name" => "PH N", "group" => "Police/Military"], ["id" => 161, "name" => "", "short_name" => "DH", "group" => "Police/Military"], ["id" => 162, "name" => "", "short_name" => "DH 1", "group" => "Police/Military"], ["id" => 163, "name" => "", "short_name" => "DH 2", "group" => "Police/Military"], ["id" => 164, "name" => "Police Dog", "short_name" => "PD", "group" => "Police/Military"], ["id" => 165, "name" => "Military Dog", "short_name" => "MD", "group" => "Police/Military"], ["id" => 166, "name" => "", "short_name" => "DPOBw", "group" => "Police/Military"], ["id" => 167, "name" => "", "short_name" => "MDD", "group" => "Police/Military"], ["id" => 168, "name" => "", "short_name" => "NTD", "group" => "Police/Military"], ["id" => 169, "name" => "", "short_name" => "PDH", "group" => "Police/Military"], ["id" => 170, "name" => "", "short_name" => "PH 1", "group" => "Police/Military"], ["id" => 171, "name" => "", "short_name" => "PH 2", "group" => "Police/Military"], ["id" => 172, "name" => "", "short_name" => "PH 3", "group" => "Police/Military"], ["id" => 173, "name" => "", "short_name" => "SSH", "group" => "Police/Military"], ["id" => 174, "name" => "", "short_name" => "EDD", "group" => "Police/Military"], ["id" => 175, "name" => "", "short_name" => "MDH", "group" => "Police/Military"], ["id" => 176, "name" => "", "short_name" => "DHP", "group" => "Police/Military"], ["id" => 177, "name" => "", "short_name" => "Diensthund", "group" => "Police/Military"], ["id" => 178, "name" => "", "short_name" => "PHP", "group" => "Police/Military"], ["id" => 179, "name" => "", "short_name" => "PHK", "group" => "Police/Military"], ["id" => 180, "name" => "", "short_name" => "PHV", "group" => "Police/Military"], ["id" => 181, "name" => "", "short_name" => "KNPV-PH 1", "group" => "Police/Military"], ["id" => 182, "name" => "", "short_name" => "KNPV-PH 2", "group" => "Police/Military"], ["id" => 183, "name" => "", "short_name" => "KNPV-Obj", "group" => "Police/Military"], ["id" => 184, "name" => "", "short_name" => "RH 1", "group" => "Rescue"], ["id" => 185, "name" => "", "short_name" => "RH 2", "group" => "Rescue"], ["id" => 186, "name" => "", "short_name" => "RH-E", "group" => "Rescue"], ["id" => 187, "name" => "", "short_name" => "RH-FL", "group" => "Rescue"], ["id" => 188, "name" => "", "short_name" => "RH-FL A", "group" => "Rescue"], ["id" => 189, "name" => "", "short_name" => "RH-FL B", "group" => "Rescue"], ["id" => 190, "name" => "", "short_name" => "RH-F A", "group" => "Rescue"], ["id" => 191, "name" => "", "short_name" => "RH-F B", "group" => "Rescue"], ["id" => 192, "name" => "", "short_name" => "RH-T", "group" => "Rescue"], ["id" => 193, "name" => "", "short_name" => "RH-T A", "group" => "Rescue"], ["id" => 194, "name" => "", "short_name" => "RH-T B", "group" => "Rescue"], ["id" => 195, "name" => "", "short_name" => "RH-L A", "group" => "Rescue"], ["id" => 196, "name" => "", "short_name" => "RH-L B", "group" => "Rescue"], ["id" => 197, "name" => "", "short_name" => "RH-L C", "group" => "Rescue"], ["id" => 198, "name" => "", "short_name" => "RH-W A", "group" => "Rescue"], ["id" => 199, "name" => "", "short_name" => "RH-W B", "group" => "Rescue"], ["id" => 200, "name" => "", "short_name" => "RH-W C", "group" => "Rescue"], ["id" => 201, "name" => "", "short_name" => "SanH 1", "group" => "Rescue"], ["id" => 202, "name" => "", "short_name" => "SanH 2", "group" => "Rescue"], ["id" => 203, "name" => "", "short_name" => "SanH 3", "group" => "Rescue"], ["id" => 204, "name" => "", "short_name" => "Law 1", "group" => "Rescue"], ["id" => 205, "name" => "", "short_name" => "Law 2", "group" => "Rescue"], ["id" => 206, "name" => "", "short_name" => "Law 3", "group" => "Rescue"], ["id" => 207, "name" => "", "short_name" => "ZZP 1", "group" => "Rescue"], ["id" => 208, "name" => "", "short_name" => "ZZP 2", "group" => "Rescue"], ["id" => 209, "name" => "", "short_name" => "ZZP 3", "group" => "Rescue"], ["id" => 210, "name" => "", "short_name" => "ZZP-N", "group" => "Rescue"], ["id" => 211, "name" => "", "short_name" => "ZLP 1", "group" => "Rescue"], ["id" => 212, "name" => "", "short_name" => "ZLP 2", "group" => "Rescue"], ["id" => 213, "name" => "", "short_name" => "ZLP 3", "group" => "Rescue"], ["id" => 214, "name" => "", "short_name" => "ZLP-N", "group" => "Rescue"], ["id" => 215, "name" => "", "short_name" => "ZVP-1", "group" => "Rescue"], ["id" => 216, "name" => "", "short_name" => "ZVP-2", "group" => "Rescue"], ["id" => 217, "name" => "", "short_name" => "ZVP-3", "group" => "Rescue"], ["id" => 218, "name" => "", "short_name" => "ZVP-N", "group" => "Rescue"], ["id" => 219, "name" => "", "short_name" => "VZ 1", "group" => "Rescue"], ["id" => 220, "name" => "", "short_name" => "VZ 2", "group" => "Rescue"], ["id" => 221, "name" => "", "short_name" => "VZ 3", "group" => "Rescue"], ["id" => 222, "name" => "", "short_name" => "IPO ZTP", "group" => "Special"], ["id" => 223, "name" => "", "short_name" => "CQN", "group" => "Special"], ["id" => 224, "name" => "", "short_name" => "UHP", "group" => "Special"], ["id" => 225, "name" => "", "short_name" => "WP", "group" => "Special"], ["id" => 226, "name" => "", "short_name" => "CSAU", "group" => "Special"], ["id" => 227, "name" => "", "short_name" => "WeT", "group" => "Special"], ["id" => 228, "name" => "", "short_name" => "TAN", "group" => "Special"], ["id" => 229, "name" => "", "short_name" => "GAP 1", "group" => "Special"], ["id" => 230, "name" => "", "short_name" => "DGT", "group" => "Special"], ["id" => 231, "name" => "", "short_name" => "MH", "group" => "Special"], ["id" => 232, "name" => "", "short_name" => "DKT", "group" => "Special"], ["id" => 233, "name" => "", "short_name" => "ZZO", "group" => "Special"], ["id" => 234, "name" => "", "short_name" => "ZOP", "group" => "Special"], ["id" => 235, "name" => "", "short_name" => "ZM", "group" => "Special"], ["id" => 236, "name" => "", "short_name" => "ZPS 1", "group" => "Special"], ["id" => 237, "name" => "", "short_name" => "ZPS 2", "group" => "Special"], ["id" => 238, "name" => "", "short_name" => "ZPU 1", "group" => "Special"], ["id" => 239, "name" => "", "short_name" => "ZPU 2", "group" => "Special"], ["id" => 240, "name" => "", "short_name" => "ZVP 1", "group" => "Special"], ["id" => 241, "name" => "", "short_name" => "ZVP 2", "group" => "Special"], ["id" => 242, "name" => "", "short_name" => "ZVP 3", "group" => "Special"], ["id" => 243, "name" => "", "short_name" => "TSG", "group" => "Special"], ["id" => 244, "name" => "", "short_name" => "KORAD", "group" => "Special"], ["id" => 246, "name" => "", "short_name" => "BWT", "group" => "Special"], ["id" => 247, "name" => "", "short_name" => "MAG", "group" => "Special"], ["id" => 248, "name" => "", "short_name" => "HIT", "group" => "Herding"], ["id" => 249, "name" => "", "short_name" => "HWT", "group" => "Herding"], ["id" => 250, "name" => "", "short_name" => "IHT 1", "group" => "Herding"], ["id" => 251, "name" => "", "short_name" => "IHT 2", "group" => "Herding"], ["id" => 252, "name" => "", "short_name" => "IHT 3", "group" => "Herding"], ["id" => 253, "name" => "", "short_name" => "CANT", "group" => "Herding"], ["id" => 254, "name" => "", "short_name" => "HGH", "group" => "Herding"], ["id" => 255, "name" => "", "short_name" => "ZVOP", "group" => "Herding"], ["id" => 256, "name" => "", "short_name" => "ZOP 1", "group" => "Herding"], ["id" => 257, "name" => "", "short_name" => "ZOP 2", "group" => "Herding"], ["id" => 258, "name" => "", "short_name" => "JHD", "group" => "Herding"], ["id" => 259, "name" => "", "short_name" => "HCT", "group" => "Herding"], ["id" => 260, "name" => "", "short_name" => "HIC", "group" => "Herding"], ["id" => 261, "name" => "", "short_name" => "JP/R", "group" => "Hunting"], ["id" => 262, "name" => "", "short_name" => "Jagdbrevet", "group" => "Hunting"], ["id" => 263, "name" => "", "short_name" => "VGP", "group" => "Hunting"], ["id" => 264, "name" => "", "short_name" => "WT E", "group" => "Hunting"], ["id" => 265, "name" => "", "short_name" => "RBP 1", "group" => "Hunting"], ["id" => 266, "name" => "", "short_name" => "RBP 2", "group" => "Hunting"], ["id" => 267, "name" => "", "short_name" => "FT", "group" => "Hunting"], ["id" => 268, "name" => "", "short_name" => "WT", "group" => "Hunting"], ["id" => 269, "name" => "", "short_name" => "ECP", "group" => "Hunting"], ["id" => 270, "name" => "", "short_name" => "GPE", "group" => "Hunting"], ["id" => 271, "name" => "", "short_name" => "InterBau", "group" => "Hunting"], ["id" => 272, "name" => "", "short_name" => "InterVp", "group" => "Hunting"], ["id" => 273, "name" => "", "short_name" => "InterVGP", "group" => "Hunting"], ["id" => 274, "name" => "", "short_name" => "InterKanin", "group" => "Hunting"], ["id" => 275, "name" => "", "short_name" => "InterGP", "group" => "Hunting"], ["id" => 276, "name" => "", "short_name" => "InterPndS", "group" => "Hunting"], ["id" => 277, "name" => "", "short_name" => "Sfk", "group" => "Hunting"], ["id" => 278, "name" => "", "short_name" => "SP", "group" => "Hunting"], ["id" => 279, "name" => "", "short_name" => "SP/J", "group" => "Hunting"], ["id" => 280, "name" => "", "short_name" => "Wa.T.", "group" => "Hunting"], ["id" => 281, "name" => "", "short_name" => "St", "group" => "Hunting"], ["id" => 282, "name" => "", "short_name" => "WaS", "group" => "Hunting"], ["id" => 283, "name" => "", "short_name" => "StiJ", "group" => "Hunting"], ["id" => 284, "name" => "", "short_name" => "ESw", "group" => "Hunting"], ["id" => 285, "name" => "", "short_name" => "SauN", "group" => "Hunting"], ["id" => 286, "name" => "", "short_name" => "SchwhK", "group" => "Hunting"], ["id" => 287, "name" => "", "short_name" => "SchwhKF", "group" => "Hunting"], ["id" => 288, "name" => "", "short_name" => "SchwhK/40", "group" => "Hunting"], ["id" => 289, "name" => "", "short_name" => "SchwhKF/40", "group" => "Hunting"], ["id" => 290, "name" => "", "short_name" => "SchwPoR", "group" => "Hunting"], ["id" => 291, "name" => "", "short_name" => "SchwhN", "group" => "Hunting"], ["id" => 292, "name" => "", "short_name" => "Sw", "group" => "Hunting"], ["id" => 293, "name" => "", "short_name" => "Vp", "group" => "Hunting"], ["id" => 294, "name" => "", "short_name" => "VpoSp", "group" => "Hunting"], ["id" => 295, "name" => "", "short_name" => "IntVp", "group" => "Hunting"], ["id" => 296, "name" => "", "short_name" => "BhN", "group" => "Hunting"], ["id" => 297, "name" => "", "short_name" => "KSchlH", "group" => "Hunting"], ["id" => 298, "name" => "", "short_name" => "KSpN", "group" => "Hunting"], ["id" => 299, "name" => "", "short_name" => "ZV 1", "group" => "Hunting"], ["id" => 300, "name" => "", "short_name" => "ZV 2", "group" => "Hunting"], ["id" => 301, "name" => "", "short_name" => "ZV 3", "group" => "Hunting"], ["id" => 302, "name" => "", "short_name" => "PZ 1", "group" => "Hunting"], ["id" => 303, "name" => "", "short_name" => "PZ 2", "group" => "Hunting"], ["id" => 304, "name" => "", "short_name" => "PZ 3", "group" => "Hunting"], ["id" => 305, "name" => "", "short_name" => "LZ 1", "group" => "Hunting"], ["id" => 306, "name" => "", "short_name" => "LZ 2", "group" => "Hunting"], ["id" => 307, "name" => "", "short_name" => "LZ 3", "group" => "Hunting"], ["id" => 308, "name" => "", "short_name" => "BZ 1", "group" => "Hunting"], ["id" => 309, "name" => "", "short_name" => "BZ 2", "group" => "Hunting"], ["id" => 310, "name" => "", "short_name" => "BZ 3", "group" => "Hunting"], ["id" => 314, "name" => "", "short_name" => "MMS 1", "group" => "Hunting"], ["id" => 315, "name" => "", "short_name" => "MMS 2", "group" => "Hunting"], ["id" => 316, "name" => "", "short_name" => "MMS 3", "group" => "Hunting"]];
     ExamType::truncate();
     foreach ($exam_types as $exam_type) {
         ExamType::create($exam_type);
     }
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $examTypes = ExamType::find($id);
     $examTypes->delete();
     Session::flash('message', 'You have successfully deleted type of exam');
     return Redirect::to('dashboard/admin/exam-types');
 }
 public function delete($id)
 {
     $examType = ExamType::findOrFail($id);
     $examType->delete();
 }