prestation/Controleur/ControleurAjaxchargermedicamentsubstitution.php
2025-12-05 10:42:46 +00:00

51 lines
615 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Prescription.php';
class ControleurAjaxchargermedicamentsubstitution extends Controleur {
private $prescription;
public function __construct() {
$this->prescription = new Prescription();
}
public function index() {
$libelle = $this->requete->getParametreFormulaire("libelle");
$medicaments = $this->prescription->getmedicamentfiltreSubstitution($libelle);
$this->genererVueAjax(array('medicaments' => $medicaments));
}
}