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

24 lines
536 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Tablocalite.php';
class ControleurAjaxfiltrevilleparpays extends Controleur {
private $local;
public function __construct() {
$this->local = new Tablocalite();
}
public function index() {
$codePays = $this->requete->getParametreFormulaire("codePays");
$tabville = $this->local->getvillelocalite($codePays);
$this->genererVueAjax(array(
'ville' => $tabville
));
}
}