Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2143 Rev 2241
Line 393... Line 393...
393
					$chemin_parent .= $tag."/";
393
					$chemin_parent .= $tag."/";
394
				}
394
				}
395
			}
395
			}
396
		}
396
		}
Line 397... Line 397...
397
 
397
 
398
		$liaison_ok = $this->gestionMotsClesObs->lierParTableaux($listeIdsTags, $observations_ids, $this->utilisateur_id);
398
		$liaison_ok = $this->gestionMotsClesObs->lierParTableaux($listeIdsTags, $observations_ids);
399
		if($liaison_ok) {
399
		if($liaison_ok) {
400
			foreach($observations_ids as $id) {
400
			foreach($observations_ids as $id) {
401
				GestionMotsClesChemin::regenererIndexTexteMotCle($id, 'obs');
401
				GestionMotsClesChemin::regenererIndexTexteMotCle($id, 'obs');
402
			}
402
			}
Line 437... Line 437...
437
					$listeIdsTags[] = $id_mot_cle;
437
					$listeIdsTags[] = $id_mot_cle;
438
					$chemin_parent .= $tag."/";
438
					$chemin_parent .= $tag."/";
439
				}
439
				}
440
			}
440
			}
441
		}
441
		}
442
		$liaison_ok = $this->gestionMotsClesImages->lierParTableaux($listeIdsTags, $images_ids, $this->utilisateur_id);
442
		$liaison_ok = $this->gestionMotsClesImages->lierParTableaux($listeIdsTags, $images_ids);
443
		if($liaison_ok) {
443
		if($liaison_ok) {
444
			foreach($images_ids as $id) {
444
			foreach($images_ids as $id) {
445
				GestionMotsClesChemin::regenererIndexTexteMotCle($id, 'images');
445
				GestionMotsClesChemin::regenererIndexTexteMotCle($id, 'images');
446
			}
446
			}
447
		}
447
		}