Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 44 | Rev 70 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 44 Rev 63
Line 115... Line 115...
115
    	
115
    	
Line 116... Line 116...
116
    	$id_station = $this->id_station_en_cours;
116
    	$id_station = $this->id_station_en_cours;
117
    	
117
    	
-
 
118
    	$donnees['id_station'] = $id_station;
118
    	$donnees['id_station'] = $id_station;
119
    	$donnees['infos_station'] = $this->getInformationsStation($id_station);
Line 119... Line 120...
119
    	$donnees['infos_station'] = $this->getInformationsStation($id_station);
120
    	
Line 120... Line 121...
120
    	$this->setSortie(self::RENDU_CORPS, $this->getVue('fiches/station_fiche', $donnees));
121
    	$this->setSortie(self::RENDU_CORPS, $this->getVue('fiches/station_fiche', $donnees));
121
    	
122
    	
122
    }
123
    }
Line 123... Line 124...
123
   
124
   
-
 
125
    // +---------------------------------------------------------------------------------------------------------------+
-
 
126
    // METHODES POUR FABRIQUER LE MENU
-
 
127
    public function construireMenuNavigation($espece_en_cours = null) {
124
    // +---------------------------------------------------------------------------------------------------------------+
128
    	    	    	
-
 
129
    	$id_station_en_cours = $this->id_station_en_cours;
-
 
130
    	$id_espece_en_cours = null;
Line 125... Line 131...
125
    // METHODES POUR FABRIQUER LE MENU
131
    	
Line 126... Line 132...
126
    public function construireMenuNavigation($espece_en_cours = null) {
132
    	if(isset($_GET['id_espece'])) {
-
 
133
    		$id_espece_en_cours = $_GET['id_espece'];
127
    	    	    	
134
    	}
128
    	$id_station_en_cours = $this->id_station_en_cours;
135
 
Line 129... Line 136...
129
    	$id_espece_en_cours = $_GET['id_espece'];
136
    	
130
    	
137
    	$stations = $this->getListeStations();
Line 131... Line 138...
131
    	$stations = $this->getListeStations();
138
    	    	
132
    	    	
139
    	foreach($stations as &$station) {  
133
    	foreach($stations as &$station) {   		
140
    		        	
134
    		$station['url'] = aControleur::getUrlConsultationFicheStation($station['id']);
141
    		$station['url'] = Liens::instance()->getUrlConsultationFicheStation($station['id']);
135
    	}
142
    	}
Line 136... Line 143...
136
    	
143