production/Controleur/ControleurAjaxfiltrescollegepolicecarte.php
2025-12-01 16:12:12 +00:00

25 lines
524 B
PHP

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Police.php';
class ControleurAjaxfiltrescollegepolicecarte extends Controleur {
private $police;
public function __construct() {
$this->police = new Police();
}
public function index() {
$idPolice = $this->requete->getParametreFormulaire('idPolice');
$colleges = $this->police->getCOllegePolice($idPolice);
$this->genererVueAjax(array('colleges' => $colleges));
}
}