3 if (!defined('_ECRIRE_INC_VERSION')) return;
5 include_spip('inc/rechercher');
6 include_spip('base/abstract_sql');
8 function inclure_liste_recherche_par_id($table,$id,$statut,$env){
10 $env = unserialize($env);
11 $env[id_table_objet($table)]=$id;
13 $env['statut'] = $statut;
14 unset($env['recherche']);
15 return recuperer_fond("prive/objets/liste/$table",$env);