$sqlQuery="SELECT f.id FROM {$this->tableName} f";
$sqlQuery="SELECT f.id FROM {$this->tableName} f";
$sqlQuery.=" WHERE ((f.type = 'adherent_prestataire' AND f.prestataire_id = :p_id) OR (f.type = 'prestataire_prestataire' AND f.prestataire_dest_id = :id))";
$sqlQuery.=" WHERE ((f.type = 'adherent_prestataire' AND f.prestataire_id = :pid) OR (f.type = 'prestataire_prestataire' AND f.prestataire_dest_id = :pid))";
$sqlQuery.=" AND f.user_id = :c_id";// set operateur
$sqlQuery.=" AND f.user_id = :cid";// set operateur