19 lines
544 B
PHP
19 lines
544 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/College_temp.php';
|
|
|
|
class ControleurAjaxconsultertableauprestation extends Controleur {
|
|
private $college_temp2;
|
|
|
|
public function __construct() {
|
|
$this->college_temp2 = new College_temp();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$idCollegeTemp = $_SESSION['idCollegeTemp'];
|
|
$tableau_prestations = $this->college_temp2->getPrestation($idCollegeTemp);
|
|
|
|
$this->genererVueAjax(array('tableau_prestations' => $tableau_prestations));
|
|
}
|
|
} |