63,7 → 63,6 |
} |
|
public function insererParCheminSiInexistant($mot_cle, $chemin_parent, $id_utilisateur) { |
$mot_cle = self::simplifier($mot_cle); |
$cheminMotCle = self::getCheminHarmonise($chemin_parent, $mot_cle); |
$cheminMotCleP = Cel::db()->proteger($cheminMotCle); |
$idUtilisateurP = Cel::db()->proteger($id_utilisateur); |
85,7 → 84,6 |
} |
|
public function insererParChemin($mot_cle, $chemin_parent, $id_utilisateur) { |
$mot_cle = self::simplifier($mot_cle); |
$cheminMotCle = self::getCheminHarmonise($chemin_parent, $mot_cle); |
$cheminMotCleP = Cel::db()->proteger($cheminMotCle); |
$idUtilisateurP = Cel::db()->proteger($id_utilisateur); |
235,7 → 233,6 |
* |
*/ |
public function supprimerLiaisonPourMotCleEtIdElementLie($mot_cle, $id_element_lie, $id_utilisateur) { |
$mot_cle = self::simplifier($mot_cle); |
$idElementLieP = Cel::db()->proteger($id_element_lie); |
$motCleP = Cel::db()->proteger($mot_cle); |
$idUtilisateurP = Cel::db()->proteger($id_utilisateur); |
411,10 → 408,7 |
} |
|
public function obtenirIdsMotClesPourMotsCles($mots_cles, $id_utilisateur) { |
$motsClesP = array(); |
foreach ($mots_cles as $mot_cle) { |
$motsClesP[] = Cel::db()->proteger(self::simplifier($mot_cle)); |
} |
$motsClesP = Cel::db()->proteger($mots_cles); |
$listeMotsClesP = implode(',', $motsClesP); |
$idUtilisateurP = Cel::db()->proteger($id_utilisateur); |
|