+// --------------------------------------------------------------------
+
+ public function sources_invitations($groupes, $id_user){
+ $groupes_in = "";
+ foreach($groupes as $id_groupe => $groupe) $groupes_in .= ($groupes_in ? "," : "").$id_groupe;
+ return $this->list_sml_sources_invitations(
+ array(
+ "index_name" => "id",
+ "where"=> ($groupes_in ? "id_author IN(".$groupes_in.") OR " : "")."id_user=".$id_user,
+ "order_by" => "date_invitation",
+ "order" => "DESC"
+ )
+ );
+ }