Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1139 Rev 1445
Line 66... Line 66...
66
	private function getStatutsZoneGeo() {
66
	private function getStatutsZoneGeo() {
67
		$statuts = "";
67
		$statuts = "";
68
		$projet = Config::get($this->referentiel.'.baseStatuts');
68
		$projet = Config::get($this->referentiel.'.baseStatuts');
69
		if ($projet != "") {
69
		if ($projet != "") {
70
			$nnr = $this->nomCourant->getNnr();
70
			$nnr = $this->nomCourant->getNnr();
71
			$statuts = $this->statuts->getStatutsZoneGeo($projet, $nnr);
71
			$reponse = $this->statuts->getStatutsZoneGeo($projet, $nnr);
-
 
72
			foreach ($reponse as $statut) {
-
 
73
				$statuts[$statut['type_protection']][] = $statut['zone_application'];
-
 
74
			}
72
			$this->meta->setProjet($projet);
75
			$this->meta->setProjet($projet);
73
			$meta = $this->meta->getMetaDonnees();
76
			$meta = $this->meta->getMetaDonnees();
74
			$statuts['meta'] = $meta[0];
-
 
75
			$statuts['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projet);
-
 
76
		}
77
		}
77
		return $statuts;
78
		return $statuts;
78
	}
79
	}
Line 79... Line 80...
79
	
80