19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: pap_initialisation.fonct.php,v 1.2 2004-06-18 15:51:27 alex Exp $ |
// CVS : $Id: pap_initialisation.fonct.php,v 1.3 2004-06-30 07:26:52 jpm Exp $ |
/** |
* Bibliothèque de fonction pour l'initialisation de Papyrus. |
* |
32,7 → 32,7 |
//Autres auteurs : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.2 $ $Date: 2004-06-18 15:51:27 $ |
*@version $Revision: 1.3 $ $Date: 2004-06-30 07:26:52 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
40,7 → 40,7 |
// | LISTE des FONCTIONS | |
// +------------------------------------------------------------------------------------------------------+ |
|
/** Fonction donnerIdPremiereApplicationLiee() - Renvoie l'id de la première application liée à un menu et l'id du menu. |
/** Fonction GEN_donnerIdPremiereApplicationLiee() - Renvoie l'id de la première application liée à un menu. |
* |
* Cette fonction recherche l'application liée à un menu et l'identifiant de ce menu, mais comme il peut |
* ne pas y en avoir, elle cherche alors l'application du menu fils qui |
49,7 → 49,7 |
* @param integer l'identifiant d'un menu. |
* @return array tableau associatif indexé avec gm_id_menu et gm_ce_application et leur valeur |
*/ |
function donnerIdPremiereApplicationLiee($id_menu) |
function GEN_donnerIdPremiereApplicationLiee($id_menu) |
{ |
global $db; |
$aso_application_info = array(); |
81,7 → 81,7 |
// Nous avons un menu fils, nous rappelons récursivement la fontion avec son identifiant |
// pour récuperer l'application liée. |
$ligne_fils = $resultat_fils->fetchRow(DB_FETCHMODE_OBJECT); |
$aso_application_info = donnerIdPremiereApplicationLiee($ligne_fils->gm_id_menu); |
$aso_application_info = GEN_donnerIdPremiereApplicationLiee($ligne_fils->gm_id_menu); |
} |
else { |
// Gestion des erreurs sur la recherche de l'application liée. |
97,6 → 97,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.2 2004/06/18 15:51:27 alex |
* Modification fonction de recherche d'application liée, elle renvoie maintenant un tableau. |
* |
* Revision 1.1 2004/06/15 15:10:44 jpm |
* Changement de nom et d'arborescence de Genesia en Papyrus. |
* |