Subversion Repositories Applications.referentiel

Rev

Rev 372 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 372 Rev 379
Line 202... Line 202...
202
					$this->resultat['niveau'] = $niveau;
202
					$this->resultat['niveau'] = $niveau;
203
					$this->resultat['nb_niveau'][$niveau] = count($donnees);
203
					$this->resultat['nb_niveau'][$niveau] = count($donnees);
204
				}
204
				}
205
				foreach ($donnees as $donnee) {
205
				foreach ($donnees as $donnee) {
206
					$this->resultat['inf'][$donnee['num_nom']] = $donnee;
206
					$this->resultat['inf'][$donnee['num_nom']] = $donnee;
-
 
207
					$this->resultat['inf'][$donnee['num_nom']]['niveau'] = 1;
207
					$this->resultat['nb_par_rang'][$donnee['rang']] =
208
					$this->resultat['nb_par_rang'][$donnee['rang']] =
208
						(isset($this->resultat['nb_par_rang'][$donnee['rang']])) ?
209
						(isset($this->resultat['nb_par_rang'][$donnee['rang']])) ?
209
							$this->resultat['nb_par_rang'][$donnee['rang']] + 1
210
							$this->resultat['nb_par_rang'][$donnee['rang']] + 1
210
							: 1;
211
							: 1;
211
				}
212
				}