| 178 |
delphine |
1 |
<?php
|
|
|
2 |
class Niveau extends aControleur {
|
|
|
3 |
public function executerActionParDefaut() {
|
|
|
4 |
$this->afficherMoteurNiveau();
|
|
|
5 |
}
|
|
|
6 |
|
|
|
7 |
public function afficherMoteurNiveau() {
|
|
|
8 |
$this->setSortie(self::RENDU_CORPS, $this->afficherNiveau());
|
|
|
9 |
}
|
|
|
10 |
|
|
|
11 |
public function afficherNiveau() {
|
|
|
12 |
$donnees['url_form'] = $this->urls->obtenirUrlBase();
|
|
|
13 |
$donnees['i18n'] = I18n::get('Niveau');
|
|
|
14 |
$donnees['niveau'] = Registre::get('parametres.niveau');
|
|
|
15 |
return $this->getVue('niveau', $donnees);
|
|
|
16 |
}
|
|
|
17 |
|
|
|
18 |
private function capturerParametres() {
|
|
|
19 |
//referentiel=bdtfx&module=recherche&action=rechercheSimple&submit=Rechercher&type_nom=nom_scientifique&nom=Triraphis&resultat=decompo
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
if (isset($_GET['niveau'])) {
|
|
|
23 |
Registre::set('parametres.niveau', $_GET['niveau']);
|
|
|
24 |
}
|
|
|
25 |
}
|
|
|
26 |
}
|
|
|
27 |
?>
|