Subversion Repositories Sites.obs-saisons.fr

Rev

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

Rev 63 Rev 70
Line 21... Line 21...
21
        $this->initialiser();
21
        $this->initialiser();
22
    }
22
    }
Line 23... Line 23...
23
    
23
    
Line -... Line 24...
-
 
24
    public function initialiser() {
24
    public function initialiser() {
25
    	
-
 
26
    	if(isset($_GET['$id_observation'])) {
25
    	
27
    		$this->id_observation_en_cours = $_GET['id_observation'];
26
    	$this->id_observation_en_cours = $_GET['id_observation'];
28
    	}
Line 27... Line 29...
27
    	$this->setNavigation();
29
    	$this->setNavigation();
28
    }
30
    }
Line 55... Line 57...
55
    	$individus = $station->getIndividusStationPourEspece($id_station,$id_espece);
57
    	$individus = $station->getIndividusStationPourEspece($id_station,$id_espece);
56
    	foreach($individus as &$individu) {
58
    	foreach($individus as &$individu) {
Line 57... Line 59...
57
    		
59
    		
58
    		$observation = new Observation();
60
    		$observation = new Observation();
59
    		$individu['observations'] = $observation->getListeObservationsPourIndividu($individu['id_individu']);
61
    		$individu['observations'] = $observation->getListeObservationsPourIndividu($individu['id_individu']);
Line 60... Line 62...
60
    		$individu['url'] = Liens::instance()->getUrlConsultationFicheIndividu($id_station,$id_espece, $individu['id_individu']);
62
    		$individu['url'] = Liens::getUrlConsultationFicheIndividu($id_station,$id_espece, $individu['id_individu']);
Line 61... Line 63...
61
    		
63
    		
62
    	}
64
    	}
Line 195... Line 197...
195
    		return $individu['observations'][$annee][$evenement][$id_stade];
197
    		return $individu['observations'][$annee][$evenement][$id_stade];
196
    	}
198
    	}
Line 197... Line 199...
197
    	
199
    	
198
    	return '';
200
    	return '';
199
    } 
-
 
200
} 
201
    } 
-
 
202
}
-
 
203
?>
201
204