Import initial du projet Production
This commit is contained in:
18
Controleur/ControleurAjaxcontextpoliced.php
Normal file
18
Controleur/ControleurAjaxcontextpoliced.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Police_d.php';
|
||||
|
||||
class ControleurAjaxcontextpoliced extends Controleur {
|
||||
private $police;
|
||||
|
||||
public function __construct() {
|
||||
$this->police = new Police_d();
|
||||
}
|
||||
|
||||
public function index() {
|
||||
$idPolice = $this->requete->getParametre("idPolice");
|
||||
$this->police->getContexteAjaxPolice($idPolice);
|
||||
$numeroOptionTarif = $this->police->fn_min_numero_option_tarif($idPolice);
|
||||
$_SESSION['numeroOptionTarif'] = $numeroOptionTarif;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user