radiantrh/Controleur/ControleurConsultertableauprestation.php

23 lines
708 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/College_temp.php';
class ControleurConsultertableauprestation extends Controleur {
private $menuvue;
private $college_temp2;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Consultertableauprestation');
$this->college_temp = new College_temp();
}
public function index() {
$idCollege = $_SESSION['idCollege_C'];
$tableau_prestations = $this->college_temp->gettableauprestationscollege($idCollege);
$this->genererVue(array('tableau_prestations' => $tableau_prestations));
}
}