Hey,
hab mir heute mal das Dokumentationspaket Pear phpDocumentor angeschaut und wollte das mal testen aber leider möchte er mich mit Fehlermeldungen nerven.
Die Errors im Einzelnen:
Die Class
die index.php
Popup ist nahezu im Schema identisch wie die File zuvor......
Als einzigstes hat die config.inc.php funktioniert die bemängelt er nicht:
Die Fehlermeldung die in der Klasse bemängelt wird ist für mich unbegreiflich....Der Docblock würde auf der Seitenebene sein, aber die Klasse css_stats ist davor (vor sich selber? k). Man solle einen anderen DocBlock fürs dokumentieren verwenden......
*grübel*
Und in den anderen Files ist vermutlich das require schuldig, muss das mal testen.....
Irgendwelche Ideen?
Wenn es damit nicht klappt versuch ich mal http://phpxref.sourceforge.net/
oder ich dokumentier weiter händisch
hab mir heute mal das Dokumentationspaket Pear phpDocumentor angeschaut und wollte das mal testen aber leider möchte er mich mit Fehlermeldungen nerven.
Die Errors im Einzelnen:
css_stats_class.php
Warnings:
Warning on line 13 - DocBlock would be page-level, but precedes class "css_stats", use another DocBlock to document the file
index.php
Warnings:
Warning on line 15 - Page-level DocBlock precedes "require index.php", use another DocBlock to document the source element
popup.php
Warnings:
Warning on line 14 - Page-level DocBlock precedes "require popup.php", use another DocBlock to document the source element
Documentation generated on Sat, 19 Feb 2005 13:18:31 +0100 by phpDocumentor 1.2.3
Warnings:
Warning on line 13 - DocBlock would be page-level, but precedes class "css_stats", use another DocBlock to document the file
index.php
Warnings:
Warning on line 15 - Page-level DocBlock precedes "require index.php", use another DocBlock to document the source element
popup.php
Warnings:
Warning on line 14 - Page-level DocBlock precedes "require popup.php", use another DocBlock to document the source element
Documentation generated on Sat, 19 Feb 2005 13:18:31 +0100 by phpDocumentor 1.2.3
<?
1/**
* @package css_stats
* @author POD <pod@web.de>
* @version 1.0
*
6* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
class css_stats
{
var $error_markup = '<font color="red">%s</font>';
15 var $url = '<a href="%s?order=%s&orderby=%s">%s</a>';
1/**
* @package css_stats
* @author POD <pod@web.de>
* @version 1.0
*
6* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
class css_stats
{
var $error_markup = '<font color="red">%s</font>';
15 var $url = '<a href="%s?order=%s&orderby=%s">%s</a>';
<?
1 /**
*
* @package css_stats
* @author pod <pod@web.de>
* @version 1.0
6 *
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
13 */
require "css_stats_class.php";
15 require "config.inc.php";
1 /**
*
* @package css_stats
* @author pod <pod@web.de>
* @version 1.0
6 *
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
13 */
require "css_stats_class.php";
15 require "config.inc.php";
Als einzigstes hat die config.inc.php funktioniert die bemängelt er nicht:
/**
* @package example
* @author Pod <pod@web.de>
* @version 1.0
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
$ftp_server='xxxx';
$ftp_user='xxxx';
$ftp_pw='xxxx';
$ftp_file='/blabl/blubb/blaa';
....
...
...
* @package example
* @author Pod <pod@web.de>
* @version 1.0
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
$ftp_server='xxxx';
$ftp_user='xxxx';
$ftp_pw='xxxx';
$ftp_file='/blabl/blubb/blaa';
....
...
...
*grübel*
Und in den anderen Files ist vermutlich das require schuldig, muss das mal testen.....
Irgendwelche Ideen?
Wenn es damit nicht klappt versuch ich mal http://phpxref.sourceforge.net/
oder ich dokumentier weiter händisch
Kommentar