New file |
0,0 → 1,27 |
<?php |
class Niveau extends aControleur { |
public function executerActionParDefaut() { |
$this->afficherMoteurNiveau(); |
} |
|
public function afficherMoteurNiveau() { |
$this->setSortie(self::RENDU_CORPS, $this->afficherNiveau()); |
} |
|
public function afficherNiveau() { |
$donnees['url_form'] = $this->urls->obtenirUrlBase(); |
$donnees['i18n'] = I18n::get('Niveau'); |
$donnees['niveau'] = Registre::get('parametres.niveau'); |
return $this->getVue('niveau', $donnees); |
} |
|
private function capturerParametres() { |
//referentiel=bdtfx&module=recherche&action=rechercheSimple&submit=Rechercher&type_nom=nom_scientifique&nom=Triraphis&resultat=decompo |
|
|
if (isset($_GET['niveau'])) { |
Registre::set('parametres.niveau', $_GET['niveau']); |
} |
} |
} |
?> |