Committing the first phase of the phpDocBuilder.
[phpeclipse.git] / utilities / phpdocbuilder / builder.php
1 <?php
2 /*
3  * Created on Jul 9, 2007
4  *
5  * To change the template for this generated file go to
6  * Window - Preferences - PHPeclipse - PHP - Code Templates
7  * @author ed_mann
8  */
9  
10  /**
11   * required files
12   */
13   require_once ('DocBuilder.phpc');
14  
15  /**
16   * File will call the xml build doc class to read the php Doc 
17   * xml files and build our master file. You can pass the following
18   * paramaters
19   * <ol>
20   * <li> output file name</li>
21   * </ol>
22   * @author ed_mann
23   */  
24   $out_file = $argv[1];
25   $ref_path = $argv[2];
26   $path = "/data/home/emann/sandbox/php/phpdoc/phpdoc/";
27   //$ver = "/data/home/emann/sandbox/php/phpdoc/phpdoc/phpbook/phpbook-xsl/version.xml";
28   
29   /**
30    * instantiate DocBuilder
31    */
32    $doc = new DocBuilder('out.xml', $path);
33    $doc->buildDoc();
34 ?>