18 lines
533 B
PHP
Executable File
18 lines
533 B
PHP
Executable File
<?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;
|
|
}
|
|
} |