point wrote on Thursday 11 September 2003 07:07:
Anyone knows of a good and easy program or script which generates doc file
from a phpdoc style comments????
PhpEdit has something like that but I need a standalone one...
respect....
Try the one that I recently created - ActiveLink PHP DOC Package:
- go to
http://www.active-link.com/intranet/software.php
- download DOC package and unzip it in the PHP-accessible directory
- view online documentation (actually generated by the same package)
- create and run following script to view documentation in the browser:
<?php
// import class loading function
require_once("classes/iorca/include.php");
// load required classes
import("org.active-link.doc.PHPClass");
import("org.active-link.doc.DocHTML");
// parse class comments from file
$myClass = new PHPClass();
$success = $myClass->parseFromFile("YourClassHere.php");
// generate and print HTML documentation
$myDoc = new DocHTML();
$o = $myDoc->getClassDoc($myClass);
print($o);
?>
Obviously, substitute "YourClassHere.php" with the PHP file you are
generating the documentation for.
Good luck!
--
Business Web Solutions
ActiveLink, LLC
www.active-link.com/intranet/