Subversion Repositories Sites.obs-saisons.fr

Compare Revisions

Ignore whitespace Rev 83 → Rev 82

/trunk/applications/saisie/controleurs/Station.php
39,8 → 39,6
public function afficherFormulaireSaisieStation() {
$donnees = array();
$donnees['milieux'] = $this->getListeMilieux();
$formulaire = $this->getVue('formulaires/station_saisie',$donnees);
$this->setSortie(self::RENDU_CORPS, $formulaire);
}
50,9 → 48,7
$donnees = array();
$id_station = $this->id_station_en_cours;
$donnees['milieux'] = $this->getListeMilieux();
$donnees['infos_station'] = $this->getInformationsStation($id_station);
$formulaire = $this->getVue('formulaires/station_modification',$donnees);
$this->setSortie(self::RENDU_CORPS, $formulaire);
}
123,7 → 119,6
$donnees['id_station'] = $id_station;
$donnees['infos_station'] = $this->getInformationsStation($id_station);
$donnees['milieux'] = $this->getListeMilieux();
$this->setSortie(self::RENDU_CORPS, $this->getVue('fiches/station_fiche', $donnees));
147,7 → 142,7
$station['url'] = Liens::getUrlConsultationFicheStation($station['id']);
}
if($id_station_en_cours != null && $id_station_en_cours != 'saisie') {
if($id_station_en_cours != null) {
$especes_station_en_cours = $this->getEspecesStation($id_station_en_cours);
foreach($especes_station_en_cours as &$espece) {
212,13 → 207,5
return $liste_individus;
}
public function getListeMilieux() {
$triple_dao = new TripleDao();
$liste_milieux = $triple_dao->getListeMilieux();
return $liste_milieux;
}
}
?>