Skip to content
Extraits de code Groupes Projets
Valider 591a1799 rédigé par Maïeul's avatar Maïeul Validation de Gitea
Parcourir les fichiers

doc: PHPdoc au bon endroit + indiquer une fonction depreciée

parent 197a285e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -5,10 +5,19 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -5,10 +5,19 @@ if (!defined('_ECRIRE_INC_VERSION')) {
} }
// {tri_donnee champ} // {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 * Depuis la boucle FORMULAIRES_REPONSES, trier les résulats en fonction d'un champ
* de la table FORMULAIRES_REPONSES_CHAMPS * de la table FORMULAIRES_REPONSES_CHAMPS
* {tri_selon_donnee} * {tri_selon_reponse}
* *
* @global array $exceptions_des_tables * @global array $exceptions_des_tables
* @param string $idb * @param string $idb
...@@ -20,12 +29,7 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -20,12 +29,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
* Cedric Morin * Cedric Morin
* Renato * Renato
* @ 2005,2006 - Distribue sous licence GNU/GPL * @ 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) { function critere_tri_selon_reponse_dist($idb, &$boucles, $crit) {
$boucle = &$boucles[$idb]; $boucle = &$boucles[$idb];
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter