23 lines
491 B
PHP
Executable File
23 lines
491 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Police.php';
|
|
|
|
class ControleurAjaxfiltrecollegepolice extends Controleur
|
|
{
|
|
private $police;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->police = new Police();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$idPolice = $this->requete->getParametreFormulaire("idPolice");
|
|
|
|
$colleges = $this->police->getListeCollegePolice($idPolice);
|
|
|
|
$this->genererVueAjax(array('colleges' => $colleges));
|
|
}
|
|
}
|