Line 235... |
Line 235... |
235 |
}
|
235 |
}
|
Line 236... |
Line 236... |
236 |
|
236 |
|
237 |
public function surligner() {
|
237 |
public function surligner() {
|
238 |
$this->definirMotsASurligner();
|
238 |
$this->definirMotsASurligner();
|
239 |
foreach ($this->infosPourTpl['noms'] as $idNom => $nom) {
|
239 |
foreach ($this->infosPourTpl['noms'] as $idNom => $nom) {
|
240 |
$this->infosPourTpl['noms'][$idNom]['nomSciRetenu'] = $this->surlignerMotsMasqueRecherche($nom['nomSciRetenu']);
|
240 |
$this->infosPourTpl['noms'][$idNom]['nomSciRetenuSurligne'] = $this->surlignerMotsMasqueRecherche($nom['nomSciRetenu']);
|
241 |
if (isset($this->infosPourTpl['synonymes'][$idNom])) {
|
241 |
if (isset($this->infosPourTpl['synonymes'][$idNom])) {
|
242 |
foreach ($this->infosPourTpl['synonymes'][$idNom] as $idSyn => $synonyme) {
|
242 |
foreach ($this->infosPourTpl['synonymes'][$idNom] as $idSyn => $synonyme) {
|
243 |
$this->infosPourTpl['synonymes'][$idNom][$idSyn]['nomSci'] = $this->surlignerMotsMasqueRecherche($synonyme['nomSci']);
|
243 |
$this->infosPourTpl['synonymes'][$idNom][$idSyn]['nomSci'] = $this->surlignerMotsMasqueRecherche($synonyme['nomSci']);
|
244 |
}
|
244 |
}
|