Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1445 Rev 1477
Line 67... Line 67...
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
			$reponse = $this->statuts->getStatutsZoneGeo($projet, $nnr);
71
			$reponse = $this->statuts->getStatutsZoneGeo($projet, $nnr);
-
 
72
			if (! empty($reponse)) {
72
			foreach ($reponse as $statut) {
73
				foreach ($reponse as $statut) {
73
				$statuts[$statut['type_protection']][] = $statut['zone_application'];
74
					$statuts[$statut['type_protection']][] = $statut['zone_application'];
-
 
75
				}
74
			}
76
			}
75
			$this->meta->setProjet($projet);
77
			$this->meta->setProjet($projet);
76
			$meta = $this->meta->getMetaDonnees();
78
			$meta = $this->meta->getMetaDonnees();
77
		}
79
		}
78
		return $statuts;
80
		return $statuts;