Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 320 Rev 362
Line 40... Line 40...
40
		$this->cheminCartesBase = Config::get('Cartes.chemin');
40
		$this->cheminCartesBase = Config::get('Cartes.chemin');
41
		$this->dest_map['cbnmed'] = 'cbnmed_nt'.$this->info['nt'].'_'.$this->info['src_map'];
41
		$this->dest_map['cbnmed'] = 'cbnmed_nt'.$this->info['nt'].'_'.$this->info['src_map'];
42
		$this->img['cbnmed'] = imagecreatefrompng($this->cheminCartesBase.$this->info['src_map']);
42
		$this->img['cbnmed'] = imagecreatefrompng($this->cheminCartesBase.$this->info['src_map']);
43
	}
43
	}
Line -... Line 44...
-
 
44
	
-
 
45
	public function testerParametresProjets() {
-
 
46
		$test = true;
-
 
47
		if ($this->info['nom'] == '') {
-
 
48
			$test = false;
-
 
49
		}
-
 
50
		return $test;
-
 
51
	}
44
	
52
	
45
	public function chargerDonnees() {
53
	public function chargerDonnees() {
46
		// Recherche nom correspondant au numero nomenclatural en cours (pour etablir le lien avec les donnees moissonnes).
54
		// Recherche nom correspondant au numero nomenclatural en cours (pour etablir le lien avec les donnees moissonnes).
47
		// Collection code = 'FLORE - VAR' (Cbnmed)
55
		// Collection code = 'FLORE - VAR' (Cbnmed)
48
		$queryCbnmed = "SELECT collection_code, locality as id_location, county as location, ".
56
		$queryCbnmed = "SELECT collection_code, locality as id_location, county as location, ".