Subversion Repositories Sites.obs-saisons.fr

Compare Revisions

Ignore whitespace Rev 82 → Rev 83

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