Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 320 Rev 362
Line 32... Line 32...
32
		$this->cheminCartesBase = Config::get('Cartes.chemin');
32
		$this->cheminCartesBase = Config::get('Cartes.chemin');
33
		$this->dest_map['sophy'] = 'sophy_nt'.$this->info['nt'].'_'.$this->info['src_map'];
33
		$this->dest_map['sophy'] = 'sophy_nt'.$this->info['nt'].'_'.$this->info['src_map'];
34
		$this->img['sophy'] = imagecreatefromjpeg($this->cheminCartesBase.$this->info['src_map']);
34
		$this->img['sophy'] = imagecreatefromjpeg($this->cheminCartesBase.$this->info['src_map']);
35
	}
35
	}
Line -... Line 36...
-
 
36
	
-
 
37
	public function testerParametresProjets() {
-
 
38
		$test = true;
-
 
39
		if ($this->info['nom_ss_auteur'] == '') {
-
 
40
			$test = false;
-
 
41
		}
-
 
42
		return $test;
-
 
43
	}
36
	
44
	
37
	public function chargerDonnees() {
45
	public function chargerDonnees() {
38
		// Collection code = 'sophy'
46
		// Collection code = 'sophy'
39
		$querySophy = "SELECT 'sophy' as collection_code, lieu_station_nom as location, lieu_commune_code_insee as id_location, ".
47
		$querySophy = "SELECT 'sophy' as collection_code, lieu_station_nom as location, lieu_commune_code_insee as id_location, ".
40
								"	observation_date as date_observation, lieu_station_utm_est as x_utm , ". 
48
								"	observation_date as date_observation, lieu_station_utm_est as x_utm , ".