Précédent   Forum des professionnels en informatique > PHP > Outils
Outils Forum d'entraide sur les outils pour développeurs PHP : EDI, installation, administration... Avant de poster : FAQ outils, toutes les FAQ PHP et les comparatifs
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 04/04/2007, 13h48   #1
Membre régulier
 
Inscription : avril 2005
Messages : 152
Détails du profil
Informations forums :
Inscription : avril 2005
Messages : 152
Points : 73
Points : 73
Par défaut Doxygen et php

Bonjour,

J'essai de faire fontionner doxygen avec mes ficheirs php mais je n'arrive pas à le faire.

J'ai par exemple :

titles.php
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
 
<?php
/** 
 * File which contains the presentation of the menu for this theme.
 *
 * On this file there are the function title, subtitle, show and show2
 *
 */
 
/** this funtion is to create the presentation of the title
 * @param $title : it is the title which is use to create the presentation
 */
function title($title){
  $return = '';
  $return .= '<div class="title">
<div class="titleright">
<div class="titleleft">
&nbsp;
</div><!--close titleleft-->
<strong>'.
$title.'
</strong>
</div><!--close titleright-->
</div><!--close title-->';
  return $return;
}
?>
Mais lorsque je lance doxygen ddessu il me génère un fichier index.html sans aucun lien comme s'il ne voyait pas le fichier titles.php

Est ce que vous pourriez me dire s'il y a des paramètres particuliers a donner au fichier doxyfile ou s'il y a des commentaires particuliers à mettre dans mon code.

merci d'avance.
Anubis est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/04/2007, 16h05   #2
Membre régulier
 
Inscription : avril 2005
Messages : 152
Détails du profil
Informations forums :
Inscription : avril 2005
Messages : 152
Points : 73
Points : 73
J'ai trouvé encore une fois la solution:

en fait c'est ceci qu'il faut utiliser:

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
<?php
/*! \file Layout.php
 *  \brief This file contains the element of the presentation for the file www/include/Layout.class
 *
 *  On this file you have the function vertmenu, title, subtitle, show, show2
 */
 
/*! \fn vertmenu($links, $title, $count)
 *  \brief this function create the presentation of the vertical menu if you have choose to use it on file header.php
 *  @param $links contains the values of the links
 *  @param $title contains the title of the menu item
 *  @param $count contains the number of menuitem
 */
function vertmenu($links, $title, $count){
 
   $return .= '<div id="menu">
'.title("Menu").'
';
   echo '<!--'.$count.'-->';
 
   for($i=0; $i<$count;$i++){ 
   $return .= '<div class="MenuItem">
                 <a href="'.$links[$i].'">'.$title[$i].'</a>
              </div><!--close MenuItem-->';
}
 
   $return .= '</div><!--close menu-->';
 
   return $return;
}
Anubis est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 17/08/2007, 11h24   #3
Membre régulier
 
Inscription : avril 2005
Messages : 152
Détails du profil
Informations forums :
Inscription : avril 2005
Messages : 152
Points : 73
Points : 73
Heu en fait je travaillé sur une appliquation que j'avais récupèrè et j'ai découvert que c'était en fait avec phpdoc qu'ils avaient travaillé et non pas doxygen.
Anubis est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 01h21.


 
 
 
 
Partenaires

Hébergement Web