Exemplo n.º 1
0
 public function indexProf()
 {
     $modules = Module::modulesProf(Session::get('user')->id);
     $enseignants = Enseignant::all();
     return View('app/gestion_modules', ['modules' => $modules, 'enseignants' => $enseignants]);
 }
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $profs = Enseignant::all();
     $administrators = Admin::all();
     return View('app/gestion_enseignants', array('profs' => $profs, 'administrators' => $administrators));
 }
Exemplo n.º 3
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $filieres = Filiere::all();
     $enseignants = Enseignant::all();
     return View('app.gestion_filieres', ['filieres' => $filieres, 'enseignants' => $enseignants]);
 }