public function get_index() { $this->data['docs'] = Stddoc::all(); $this->data['neats'] = Stdneat::all(); $this->data['equips'] = Stdequip::all(); return View::make('themes.modul.' . $this->views . '.index', $this->data); }
public function get_checkfisik() { $this->data['docs'] = Stddoc::all(); $this->data['neats'] = Stdneat::all(); $this->data['equips'] = Stdequip::all(); $this->data['categories'] = Stdfleetcategorie::all(); return View::make('themes.modul.' . $this->views . '.checkfisik', $this->data); }
public function get_test() { $callback = Input::get('callback'); $datas = Stdequip::all(); $data = array_map(function ($object) { return $object->to_array(); }, $datas); return Response::jsonp($callback, $data); }