27 lines
537 B
PHP
Executable File
27 lines
537 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Police.php';
|
|
|
|
class ControleurAjaxfiltregarantiesparcollege extends Controleur
|
|
{
|
|
private $police;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->police = new Police();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$idCollegePolice = $this->requete->getParametreFormulaire("idCollegePolice");
|
|
|
|
$garanties = $this->police->getgarantiecollege($idCollegePolice);
|
|
|
|
$this->genererVueAjax(array(
|
|
'garanties' => $garanties
|
|
));
|
|
}
|
|
|
|
|
|
}
|