Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 465 Rev 473
Line 247... Line 247...
247
		$val = $this->consulterHref($url);
247
		$val = $this->consulterHref($url);
248
		return $val;
248
		return $val;
249
	}
249
	}
Line 250... Line 250...
250
	
250
	
251
	public function traiterIntermediaires($valeurTexte,$champsOntologie, $champsTable){
251
	public function traiterIntermediaires($valeurTexte,$champsOntologie, $champsTable){
252
		if (preg_match("/(?:I|i)nterm(?:é|e)diaires/", $valeurTexte )) {
252
		if (preg_match("/(?:I|i)nterm(?:é|e)diaire(?:s)*/", $valeurTexte )) {
253
			$prec = $this->recupererOntologies(($this->valeurs_champs[$champsTable]-1), $champsOntologie );
253
			$prec = $this->recupererOntologies(($this->valeurs_champs[$champsTable]-1), $champsOntologie );
254
			$suiv = $this->recupererOntologies(($this->valeurs_champs[$champsTable]+1), $champsOntologie );
254
			$suiv = $this->recupererOntologies(($this->valeurs_champs[$champsTable]+1), $champsOntologie );
255
			$valeurTexte = "Intermédiaires entre $prec->nom et $suiv->nom ";
255
			$valeurTexte = "Intermédiaires entre $prec->nom et $suiv->nom ";
256
		}
256
		}