20 lines
739 B
PHP
Executable File
20 lines
739 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Prestataire.php';
|
|
require_once 'Modele/Derogation.php';
|
|
require_once 'Modele/Reponseententeprealable.php';
|
|
|
|
class ControleurAjaxrequeteenteteententeprealablepha extends Controleur {
|
|
private $prestataire;
|
|
|
|
public function __construct() {
|
|
$this->prestataire = new Prestataire();
|
|
$this->reponseententeprealable = (new Reponseententeprealable())->getListe();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']);
|
|
$this->genererVueAjax(array('prestataire_courant' => $prestataire_courant, 'reponseententeprealable' => $this->reponseententeprealable));
|
|
}
|
|
} |