diff --git a/public/formidable_criteres.php b/public/formidable_criteres.php index 175434481217137bd67116092d66389a718215b5..2b011711f4d0fbc86b3cccb4aed5419325a0e08f 100644 --- a/public/formidable_criteres.php +++ b/public/formidable_criteres.php @@ -5,10 +5,19 @@ if (!defined('_ECRIRE_INC_VERSION')) { } // {tri_donnee champ} + +/** + * @deprecated + * @see critere_tri_selon_reponse_dist +**/ +function critere_tri_selon_donnee_dist($idb, &$boucles, $crit) { + critere_tri_selon_reponse_dist($idb, $boucles, $crit) ; +} + /** * Depuis la boucle FORMULAIRES_REPONSES, trier les résulats en fonction d'un champ * de la table FORMULAIRES_REPONSES_CHAMPS - * {tri_selon_donnee} + * {tri_selon_reponse} * * @global array $exceptions_des_tables * @param string $idb @@ -20,12 +29,7 @@ if (!defined('_ECRIRE_INC_VERSION')) { * Cedric Morin * Renato * @ 2005,2006 - Distribue sous licence GNU/GPL - */ - -function critere_tri_selon_donnee_dist($idb, &$boucles, $crit) { - // Garder cette fontion pour compatibilité - critere_tri_selon_reponse_dist($idb, $boucles, $crit) ; -} +**/ function critere_tri_selon_reponse_dist($idb, &$boucles, $crit) { $boucle = &$boucles[$idb];