Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1409 Rev 1472
Line 178... Line 178...
178
	private static function formaterNomStation(&$point, $type_emplacement) {
178
	private static function formaterNomStation(&$point, $type_emplacement) {
179
		$station = '';
179
		$station = '';
180
		if($type_emplacement == 'stations' && $point['station'] != '' && $point['station'] != '000null') {
180
		if($type_emplacement == 'stations' && $point['station'] != '' && $point['station'] != '000null') {
181
			$station = $point['station'];
181
			$station = $point['station'];
182
		} else {
182
		} else {
-
 
183
			$id_zone_geo = $point['ce_zone_geo'];	
183
			$station = $point['zone_geo'].(($point['id_zone_geo'] != '' && $point['id_zone_geo'] != '000null') ? ' ('.self::formaterNomZoneGeo($point['id_zone_geo']).')' : '');
184
			$station = $point['zone_geo'].(($id_zone_geo != '' && $id_zone_geo != '000null') ? ' ('.self::formaterNomZoneGeo($id_zone_geo).')' : '');
184
		}
185
		}
Line 185... Line 186...
185
		
186
		
186
		return $station;
187
		return $station;