Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 628 Rev 784
Line 499... Line 499...
499
					if ($valeur == "") {
499
					if ($valeur == "") {
500
						unset($res[$cle]);
500
						unset($res[$cle]);
501
					}
501
					}
502
				}
502
				}
503
				$type = ($res['prenom'] == '') ? 'o' : 'p';
503
				$type = ($res['prenom'] == '') ? 'o' : 'p';
504
				$url = $this->ajouterHrefAutreProjet('ontologies', 'contactType:', $type, 'commun');
504
				$url = $this->ajouterHrefAutreProjet('ontologies', 'contactType:', $type, 'eflore');
505
				$val = $this->consulterHref($url);
505
				$val = $this->consulterHref($url);
506
				$res['type'] = $val->nom;
506
				$res['type'] = $val->nom;
507
				$res['type.code'] = $type;
507
				$res['type.code'] = $type;
508
				$res['type.href'] = $url;
508
				$res['type.href'] = $url;
509
				$contributeur['details'][] = $res;
509
				$contributeur['details'][] = $res;