public function get_edit_log_event(LogEvent $log_event, Log $log)
 {
     $arr_log_events = $log_event->get_events(Auth::id());
     //		$arr_events_processed = $log->process_log_events($arr_log_events_raw);
     $data = $log->getDataArrayGetEdit($arr_log_events, $this->arr_logged_in_user);
     return view('log/edit_log_event')->with('data', $data);
 }
 public function get_log_event(Request $request, LogEvent $log_event)
 {
     if (!$this->bool_has_role) {
         return $this->roleHelper->call_redirect();
     } else {
         $validation_rules = ['log_event_id' => 'required|integer|min:1'];
         $this->validate($request, $validation_rules);
         Storage::put('get_log_event.txt', $request->log_event_id);
         $obj_log_event = $log_event->where('id', $request->log_event_id)->first();
         return response()->json($obj_log_event);
     }
 }