Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 169 Rev 171
Line 59... Line 59...
59
		$this->setSortie(self::RENDU_CORPS, $resultat);
59
		$this->setSortie(self::RENDU_CORPS, $resultat);
60
		$this->chargerPiedDePage();
60
		$this->chargerPiedDePage();
61
	}
61
	}
Line 62... Line 62...
62
	
62
	
-
 
63
	private function chargerZonesNbre(&$zones) {
63
	private function chargerZonesNbre(&$zones) {
64
		$paca = array("04" => '', "05" => '', "06" => '', 13 => '', 83 => '', 84 => '');
64
		$structureDao = new StructureDao();
65
		$structureDao = new StructureDao();
65
		$zones_infos = $structureDao->getStructureParZoneGeo('FRD');
66
		$zones_infos = $structureDao->getStructureParZoneGeo('FRD');
-
 
67
		foreach ($zones as $id => &$infos) {
-
 
68
			if ($this->registre->get('contexte') == 'paca') {
-
 
69
				if (isset($zones_infos[$id]) && isset($paca[$id])) {
-
 
70
					$nbre = $zones_infos[$id];
-
 
71
					$infos['info_nombre'] = $nbre;
-
 
72
				} else {
-
 
73
					$infos['info_nombre'] = 0;
-
 
74
				}
66
		foreach ($zones as $id => &$infos) {
75
			} else {
67
			if (isset($zones_infos[$id])) {
76
				if (isset($zones_infos[$id])) {
68
				$nbre = $zones_infos[$id];
77
					$nbre = $zones_infos[$id];
69
				$infos['info_nombre'] = $nbre;
78
					$infos['info_nombre'] = $nbre;
70
			} else {
79
				} else {
71
				$infos['info_nombre'] = 0;
80
					$infos['info_nombre'] = 0;
72
			}
81
				}
73
		}
82
			}	
-
 
83
		}
Line 74... Line 84...
74
	}
84
	}
75
	
85
	
76
	private function chargerZonesUrls(&$zones) {
86
	private function chargerZonesUrls(&$zones) {
77
		$url = $this->obtenirUrlRecherche('str-d:%s');
87
		$url = $this->obtenirUrlRecherche('str-d:%s');