mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
17 lines
No EOL
403 B
PHP
17 lines
No EOL
403 B
PHP
<?php
|
|
|
|
if (!defined('_ECRIRE_INC_VERSION')) return;
|
|
|
|
include_spip('inc/rechercher');
|
|
include_spip('base/abstract_sql');
|
|
|
|
function inclure_liste_recherche_par_id($table,$id,$statut,$env){
|
|
if (is_string($env))
|
|
$env = unserialize($env);
|
|
$env[id_table_objet($table)]=$id;
|
|
if ($statut)
|
|
$env['statut'] = $statut;
|
|
unset($env['recherche']);
|
|
return recuperer_fond("prive/objets/liste/$table",$env);
|
|
}
|
|
?>
|