Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 215 → Rev 216

/trunk/modules/fiche/Fiche.php
13,6 → 13,9
* @version $Id$
*/
class Fiche extends aControleur {
public function initialiser() {
$this->capturerParametres();
}
public function executerActionParDefaut() {
$this->executerFiche();
19,7 → 22,22
}
public function executerFiche(){
$this->setSortie(self::RENDU_CORPS, $this->getVue('fiche_accueil'));
$donnees_recherche = array('type_nom' => $this->type_nom, 'nom' => $this->nom);
$this->executerAction('Recherche', 'executerAccueil', $donnees_recherche);
$this->setSortie(self::RENDU_CORPS, $this->getVue('fiche_accueil'), true);
}
private function capturerParametres() {
if (isset($_GET['nom'])) {
$this->nom = $_GET['nom'];
}
if (isset($_GET['type_nom'])) {
$this->type_nom = $_GET['type_nom'];
}
if (isset($_GET['niveau'])) {
Registre::set('parametres.niveau', $_GET['niveau']);
}
}
}
?>