phpDocumentor HTML_TreeMenu
[ class tree: HTML_TreeMenu ] [ index: HTML_TreeMenu ] [ all elements ]

Source for file new_phpdoc.php

Documentation is available at new_phpdoc.php

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <?php
  3. /**
  4.  * Advanced Web Interface to phpDocumentor
  5.  * @see phpdoc.php
  6.  * @package  phpDocumentor
  7.  * @deprecated in favor of docbuilder (see {@link docbuilder/config.php})
  8.  * @filesource
  9.  */
  10. // 
  11. // 
  12. // An HTML interface for Joshua Eichorn's phpDocumentor
  13. // Author: Juan Pablo Morales  <[email protected]>
  14. //    Joshua Eichorn <[email protected]>
  15. //    Gregory Beaver <[email protected]>
  16. //
  17. // phpDocumentor, a program for creating javadoc style documentation from php code
  18. // Copyright (C) 2000-2002 Joshua Eichorn
  19. // 
  20. // This program is free software; you can redistribute it and/or modify
  21. // it under the terms of the GNU General Public License as published by
  22. // the Free Software Foundation; either version 2 of the License, or
  23. // (at your option) any later version.
  24. //
  25. // This program is distributed in the hope that it will be useful,
  26. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  27. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  28. // GNU General Public License for more details.
  29. //
  30. // You should have received a copy of the GNU General Public License
  31. // along with this program; if not, write to the Free Software
  32. // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  33. //
  34. //
  35. // Copyleft 2001 Juan Pablo Morales
  36.  
  37. if (!function_exists('version_compare'))
  38. {
  39.     print "phpDocumentor requires PHP version 4.1.0 or greater to function";
  40.     exit;
  41. }
  42.  
  43. // set up include path so we can find all files, no matter what
  44. $GLOBALS['_phpDocumentor_install_dir'dirname(realpath(__FILE__));
  45. // add my directory to the include path, and make it first, should fix any errors
  46. if (substr(PHP_OS03== 'WIN')
  47. ini_set('include_path',$GLOBALS['_phpDocumentor_install_dir'].';'.ini_get('include_path'));
  48. else
  49. ini_set('include_path',$GLOBALS['_phpDocumentor_install_dir'].':'.ini_get('include_path'));
  50.  
  51. /**
  52. * common file information
  53. */
  54. include_once("phpDocumentor/common.inc.php");
  55.  
  56. // find the .ini directory by parsing phpDocumentor.ini and extracting _phpDocumentor_options[userdir]
  57. $ini phpDocumentor_parse_ini_file($_phpDocumentor_install_dir PATH_DELIMITER 'phpDocumentor.ini'true);
  58. if (isset($ini['_phpDocumentor_options']['userdir']))
  59.     $configdir $ini['_phpDocumentor_options']['userdir'];
  60. else
  61.     $configdir $_phpDocumentor_install_dir '/user';
  62.  
  63. // allow the user to change this at runtime
  64. if (!empty($_REQUEST['altuserdir'])) $configdir $_REQUEST['altuserdir'];
  65. ?>
  66. <html>
  67.    <head>
  68.       <title>
  69.          Form to submit to phpDocumentor v<?php print PHPDOCUMENTOR_VER?>
  70.       </title>
  71.       <?php
  72.       if(!isset($_GET['submit']|| !empty($_REQUEST['altuserdir'])) {
  73. ?>
  74. <script src="HTML_TreeMenu-1.1.2/TreeMenu.js" language="JavaScript" type="text/javascript"></script>
  75.                        <?php
  76.         include_once('HTML_TreeMenu-1.1.2/TreeMenu.php');
  77.         set_time_limit(0);    // six minute timeout
  78.                 ini_set("memory_limit","256M");
  79.         /**
  80.          * Directory Node
  81.          * @package HTML_TreeMenu
  82.          */
  83.         class DirNode extends HTML_TreeNode
  84.         {
  85.             /**
  86.             * full path to this node
  87.             * @var string 
  88.             */
  89.             var $path;
  90.             
  91.             function DirNode($text false$link false$icon false$path$events array())
  92.             {
  93.                 $this->path = $path;
  94.                 $options array();
  95.                 if ($text$options['text'$text;
  96.                 if ($link$options['link'$link;
  97.                 if ($icon$options['icon'$icon;
  98.                 HTML_TreeNode::HTML_TreeNode($options,$events);
  99.             }
  100.         }
  101.         
  102.         function getDir($path,&$node)
  103.         {
  104.             global $pd;
  105.             if (!$dir opendir($path)) return;
  106.             
  107.             $node new HTML_TreeNode(array('text' => basename(realpath($path))'link' => ""'icon' => 'folder.gif'));
  108.             while (($file readdir($dir)) !== false)
  109.             {
  110.                 if ($file != '.' && $file != '..')
  111.                 {
  112.                     if (is_dir("$path$pd$file"&& !is_link("$path$pd$file"))
  113.                     {
  114.                         $entry["$path$pd$file";
  115.                     }
  116.                 }
  117.             }
  118.             closedir($dir);
  119.             for($i 0$i count($entry)$i++)
  120.             {
  121.                 $node->addItem(new HTML_TreeNode(array('text'=>basename(realpath($entry[$i]))'link' => "javascript:setHelp('".addslashes(realpath($entry[$i]))."');"'icon' => 'folder.gif')));
  122.             }
  123.         }
  124.         
  125.         function recurseDir($path&$node{
  126.             global $pd;
  127.             if (!$dir opendir($path)) {
  128.                 return false;
  129.             }
  130.             $anode new HTML_TreeNode(array('text' => basename($path)'link' => "javascript:setHelpVal('".$path."');"'icon' => 'folder.gif'));
  131.             $result addslashes(realpath(stripslashes($path).$pd.".."));
  132.             if (!$node$anode->addItem(new DirNode('..',"javascript:setHelp('".$result."');",'folder.gif'),'..');
  133.             while (($file readdir($dir)) !== false{
  134.                 if ($file != '.' && $file != '..'{
  135.                     if (is_dir("$path$pd$file")) {
  136.                         recurseDir("$path$pd$file",$anode);
  137.                     }
  138.                 }
  139.             }
  140.             rewinddir($dir);//
  141.             while (false){//($file = readdir($dir)) !== false) {
  142.                 if ($file != '.' && $file != '..'{
  143.                     if (is_file("$path$pd$file")) {
  144.                         $anode->addItem(new DirNode($file,"javascript:setHelpVal('$path$pd$file');",'branchtop.gif',"$path$pd$file"));
  145.                     }
  146.                 }
  147.             }
  148.             if (!$node$node $anode;
  149.             else
  150.             $node->addItem($anode);
  151.             closedir($dir);
  152.         }
  153.         
  154.         function switchDirTree($path&$node)
  155.         {
  156.             global $pd;
  157.  
  158.             // initialize recursion simulation values
  159.             // array format: path => &parent in $node itemlist
  160.             $parent array();
  161.             $parent_indexes array();
  162.             $parenti 1;
  163.             
  164.             $node new DirNode(basename($path),"javascript:setHelpVal('".$path."');",'folder.gif',$path);
  165.             $result addslashes(realpath($path.$pd.".."));
  166.             $node->addItem(new DirNode('..',"javascript:setHelp('".$result."');",'folder.gif','..'));
  167.             $rnode &$node;
  168.             $parent[realpath($path)false;
  169.             $recur 0;
  170.             do
  171.             {
  172.                 if ($recur++ > 120return;
  173.                 if (!$dir @opendir($path)) {
  174.                     // no child files or directories
  175. //                    echo "$path no child files or directories return to ";
  176.                     $rnode &$parent[realpath($path)];
  177.                     $path $rnode->path;
  178.                     if (isset($parent_indexes[realpath($path)])) $parenti $parent_indexes[realpath($path)];
  179. //                    echo "$path parenti $parenti<br>";
  180.                 }
  181. //                fancy_debug($path,$parent_indexes);
  182. //                vdump_par($parent);
  183.                 if (!isset($parent_indexes[realpath($path)]))
  184.                 {
  185.                     $file readdir($dir);
  186.                     while ($file !== false{
  187.                         if ($file != '.' && $file != '..'{
  188.                             if (@is_dir(realpath("$path$pd$file"))) {
  189.                                 if (!isset($parent_indexes[realpath($path)])) $parent_indexes[realpath($path)true;
  190.                                 $parent[realpath("$path$pd$file")&$rnode;
  191. //                                echo "<br>adding new ".addslashes(realpath($path.$pd.$file))." to $path<br>";
  192.                                 $rnode->addItem(new DirNode(addslashes(realpath("$path$pd$file")),"javascript:setHelpVal('".addslashes(realpath($path.$pd.$file))."');",'folder.gif',addslashes(realpath($path.$pd.$file))));
  193.                             }
  194.                         }
  195.                         $file readdir($dir);
  196.                     }
  197.                 }
  198.                 // go down the tree if possible
  199.                 if (isset($parent_indexes[realpath($path)]))
  200.                 {
  201.                     if ($parenti (count($rnode->items)))
  202.                     {
  203.                         // no more children, go back up to parent
  204. //                        echo "$path no more children, go back up to parent ";
  205.                         $rnode &$parent[realpath($path)];
  206.                         $path $rnode->path;
  207.                         if (isset($parent_indexes[realpath($path)])) $parenti $parent_indexes[realpath($path)];
  208. //                        echo $path." parenti $parenti<br>";
  209.                     else
  210.                     {
  211.                         // go to next child
  212. //                        echo "$path go to next child ";
  213.                         $parent_indexes[realpath($path)$parenti+1;
  214. //                        debug("set parent ".$rnode->items[$parenti]->path." = ".$rnode->path.'<br>');
  215.                         $parent[realpath($rnode->items[$parenti]->path)&$rnode;
  216.                         $rnode &$rnode->items[$parenti];
  217.                         $path $rnode->path;
  218. //                        echo "$path<br>";
  219.                         $parenti 0;
  220.                     }
  221.                 else
  222.                 {
  223.                     // no children, go back up the tree to the next child
  224. //                    echo "$path no children, go back up to parent ";
  225.                     $rnode &$parent[realpath($path)];
  226.                     $path $rnode->path;
  227.                     if (isset($parent_indexes[realpath($path)])) $parenti $parent_indexes[realpath($path)];
  228. //                    echo "$path parenti $parenti<br>";
  229.                 }
  230.                 @closedir($dir);
  231.             while ($path && (($parenti (count($rnode->items))) || ($parent[realpath($path)!== false)));
  232.         }
  233.         
  234.         function vdump_par($tree)
  235.         {
  236.             foreach($tree as $key => $val)
  237.             {
  238.                 if ($val === false)
  239.                 debug($key.' -> false<br>');
  240.                 else
  241.                 debug($key.' -> ' .$val->path.'<br>');
  242.             }
  243.             debug('<br>');
  244.         }
  245.         
  246.         $menu  new HTML_TreeMenu();
  247.         $filename '';
  248.         if (isset($_GET&& isset($_GET['fileName'])) $filename $_GET['fileName'];
  249.         $filename realpath($filename);
  250.         $pd (substr(PHP_OS03== 'WIN''\\' '/';
  251.         $test ($pd == '/''/' 'C:\\';
  252.         if (empty($filename|| ($filename == $test))
  253.         {
  254.             $filename ($pd == '/''/' 'C:\\';
  255.             $node false;
  256.             getDir($filename,$node);
  257.         else
  258.         {
  259.             flush();
  260. //            if ($pd != '/') $pd = $pd.$pd;
  261.                         $anode false;
  262.             switchDirTree($filename,$anode);
  263. //            recurseDir($filename,$anode);
  264.                         $node new HTML_TreeNode(array('text' => "Click to view $filename",'link' => "",'icon' => 'branchtop.gif'));
  265.             $node->addItem($anode);
  266.         };
  267.         $menu->addItem($node);
  268.         $DHTMLmenu &new HTML_TreeMenu_DHTML($menuarray('images' => 'HTML_TreeMenu-1.1.2/images'));
  269.         ?>
  270. <script type="text/javascript" language="Javascript">
  271. /**
  272.    Creates some global variables
  273. */
  274. function initializate() {
  275.  //
  276.  //The "platform independent" newLine
  277.  //
  278.  //Taken from http://developer.netscape.com/docs/manuals/communicator/jsref/brow1.htm#1010426
  279. if (navigator.appVersion.lastIndexOf('Win') != -1)
  280.  {
  281.   $pathdelim="\\";
  282.   $newLine="\r\n";
  283.  } else 
  284.  {
  285.   $newLine="\n";
  286.   $pathdelim="/";
  287.  }
  288. /* for($a=0;$a<document.dataForm.elements.length;$a++) {
  289.  alert("The name is '"+document.dataForm.elements[$a].name+"' "+$a);
  290.  }
  291. */
  292. }
  293. /** Sets the contents of the help box, and submits the form
  294. */
  295. function setHelp($str)
  296. {
  297.   document.helpForm.fileName.value = $str;
  298.   document.helpForm.helpdata.click();
  299. }
  300.  
  301. /** Sets the contents of the help box only
  302. */
  303. function setHelpVal($str)
  304. {
  305.   document.helpForm.fileName.value = $str;
  306. }
  307. /**Adds the contents of the help box as a directory
  308. */
  309. function addDirectory($object) {
  310.  $a = document.helpForm.fileName.value;
  311.  $a = myReplace($a,'\\\\','\\');
  312.  if ($a[$a.length - 1] == $pathdelim) $a = $a.substring(0, $a.length - 1);
  313.  if ($a.lastIndexOf('.') > 0)
  314.  {
  315.   $a = $a.substring(0,$a.lastIndexOf($pathdelim));
  316.  }
  317.  $object.value = prepareString($object.value)+$a;
  318. }
  319. /**Adds the contents of the converter box to the converters list
  320. */
  321. function addConverter($object) {
  322.  $object.value = prepareString($object.value)+document.dataForm.ConverterSetting.value;
  323. }
  324. /**Replaces the converters list with the contents of the converter box
  325. */
  326. function replaceConverter($object) {
  327.  $object.value = document.dataForm.ConverterSetting.value;
  328. }
  329. /**Adds the contents of the help box as a file to the given control
  330. */
  331. function addFile($object) {
  332.  $a = document.helpForm.fileName.value;
  333.  $a = myReplace($a,'\\\\','\\');
  334.  $object.value = prepareString($object.value)+$a;
  335. }
  336. /**Takes a given string and leaves it ready to add a new string
  337.    That is, puts the comma and the new line if needed
  338. */
  339. function prepareString($myString) {
  340.  //First verify that a comma is not at the end
  341.  if($myString.lastIndexOf(",") >= $myString.length-2) {
  342.   //We have a comma at the end
  343.   return $myString;
  344.  }
  345.  if($myString.length > 0) {
  346.   $myString+=","+$newLine;
  347.  }
  348.  return $myString;
  349. }
  350. /**Do the validation needed before sending the from and return a truth value indicating if the form can be sent
  351. */
  352.  function validate() {
  353.   //Take out all newLines and change them by nothing
  354.   //This could be done by using javascript function's replacebut that was implemented only until Navigator 4.0 and so it is better to use more backward compatible functions like substr 
  355.   document.dataForm.elements[0].value= stripNewLines(document.dataForm.elements[0].value);
  356.   document.dataForm.elements[1].value= stripNewLines(document.dataForm.elements[1].value);
  357.   document.dataForm.elements[2].value= stripNewLines(document.dataForm.elements[2].value);
  358.   document.dataForm.elements[3].value= stripNewLines(document.dataForm.elements[3].value);
  359.   document.dataForm.elements[4].value= stripNewLines(document.dataForm.elements[4].value);
  360.   document.dataForm.elements[5].value= stripNewLines(document.dataForm.elements[5].value);
  361.   document.dataForm.elements[6].value= stripNewLines(document.dataForm.elements[6].value);
  362.   document.dataForm.elements[7].value= stripNewLines(document.dataForm.elements[7].value);
  363.   //By returning true we are allowing the form to be submitted
  364.   return true;
  365.  }
  366. /**Takes a string and removes all the ocurrences of new lines
  367. Could have been implemented a lot easier with replace but it's not very backwards compatible
  368. */
  369.  function stripNewLines($myString) {
  370.   return myReplace($myString,$newLine,'');
  371.  }
  372.  function myReplace($string,$text,$by) {
  373.  // Replaces text with by in string
  374.      var $strLength = $string.length, $txtLength = $text.length;
  375.      if (($strLength == 0) || ($txtLength == 0)) return $string;
  376.  
  377.      var $i = $string.indexOf($text);
  378.      if ((!$i) && ($text != $string.substring(0,$txtLength))) return $string;
  379.      if ($i == -1) return $string;
  380.  
  381.      var $newstr = $string.substring(0,$i) + $by;
  382.  
  383.      if ($i+$txtLength < $strLength)
  384.          $newstr += myReplace($string.substring($i+$txtLength,$strLength),$text,$by);
  385.  
  386.      return $newstr;
  387.  }
  388. </script><?php ?>
  389.    </head>
  390.    <?php
  391.    //Find out if we are submitting and if we are, send it
  392.    // This code originally by Joshua Eichorn on phpdoc.php
  393.    //
  394.     if(isset($_GET['submit']&& empty($_REQUEST['altuserdir'])) {
  395.     echo "<body bgcolor=\"#ffffff\">";
  396.     echo "<h1>Parsing Files ...</h1>";
  397.     flush();
  398.     echo "<pre>\n";
  399.     /** phpdoc.inc */
  400.     include("phpDocumentor/phpdoc.inc");
  401.     echo "</pre>\n";
  402.     echo "<h1>Operation Completed!!</h1>";
  403.    else
  404.    {
  405.     ?>
  406.    <body bgcolor="#ffffff" onload="javascript:initializate()">
  407.       <h1>
  408.          phpDocumentor v<?php print PHPDOCUMENTOR_VER?> Web Interface
  409.       </h1>
  410.       phpDocumentor written by Joshua Eichorn<br>
  411.       Web Interface written by Juan Pablo Morales and enhanced by Greg Beaver<br>
  412.       <img src="poweredbyphpdoc.gif" alt="" width="88" height="31" border="0">
  413.       <table cellpadding="1" cellspacing="1" border="0" width="60%" bgcolor=
  414.          "#000000">
  415.             <tr>
  416.                  <td bgcolor="#ffff66">
  417.                     <b>Help</b> 
  418.                  </td>
  419.                  <td bgcolor="#ffff99">
  420.                     use this to find directories and files which can be used below
  421.                     <form name="helpForm" action="<?php print $_SERVER['PHP_SELF']?>" method="get"
  422.                     enctype="multipart/form-data">
  423.                        <input size="80" type="text" name="fileName" value="<?php print $filename;?>">
  424.                     <input type="submit" name="helpdata" value="browse tree">
  425.                     </form>
  426. <div id='menuLayer'></div>
  427. <?php
  428.         $DHTMLmenu->printMenu();
  429. ?>
  430.                  </td>
  431.               </tr>
  432.          </table>
  433.  
  434.       <form name="dataForm" action="<?php print $_SERVER['PHP_SELF']?>" method="GET" onsubmit=
  435.       "return validate()">
  436.             <table cellpadding="3" cellspacing="3" border="0" width="80%"
  437.   bgcolor="#000000">
  438.                <tr>
  439.                     <td bgcolor="#3399ff">
  440.                         <b>Use a pre-created config file for form values.</b> 
  441.                     </td>
  442.                     <td bgcolor="#CCCCCC">
  443.                           Normally, phpDocumentor uses the form values from this form to set up parsing.  In version 1.2,
  444.                           phpDocumentor allows you to "save" form values in configuration files so that you can replicate
  445.                           common complicated documentation tasks with only one time.  Just choose a config file below or create a
  446.                           new one and refresh this page to choose it.<hr /><b>change config directory:</b><input size="20" type="text" name="altuserdir" value=""><?php if (!empty($_REQUEST['altuserdir'])) print '<br><i>changed to <b>"'.$_REQUEST['altuserdir'].'"</b></i>'?>
  447.               <b>Choose a config:</b> <select name="setting[useconfig]">
  448.                           <option value="" <?php if (empty($_REQUEST['altuserdir'])) print 'selected'?>>don't use config file</option>
  449.                           <?php
  450.                           $dirs array();
  451.                           $dirs phpDocumentor_ConfigFileList($configdir);
  452.                           $path '';
  453.                           $sel ' selected';
  454.                           if (!empty($_REQUEST['altuserdir'])) $path $configdir PATH_DELIMITER;
  455.                           else $sel '';
  456.                           foreach($dirs as $configfile)
  457.                           {
  458.                               print '<option value="'.$path.$configfile.'"'.$sel.'>'.$configfile.".ini</option>\n";
  459.                               $sel '';
  460.                           }
  461.                           ?>
  462.                           </select><input type="SUBMIT" value=
  463.             "Go" name="submitButton"><br>
  464.                    </td>
  465.                </tr>
  466.                </tr>
  467.                     <td bgcolor="#66cc66">
  468.                        <b>Target</b> 
  469.                     </td>
  470.                     <td bgcolor="#eeeeee">
  471.                        Target is the directory where
  472.                        the output produced by phpDocumentor will reside<br>
  473.                        <input type="TEXT" name="setting[target]" size=
  474.                        "80"><br>
  475.                        <a href=
  476.                        "javascript:addDirectory(document.dataForm.elements[3])">
  477.                        Add the directory in the help box</a> 
  478.                     </td>
  479.                </tr>
  480.                <tr>
  481.                     <td bgcolor="#3399ff">
  482.                       <b>Files to parse</b> 
  483.                    </td>
  484.                       <td bgcolor="#CCCCCC">
  485.                       This is a group of comma-separated names of php files
  486.                       or tutorials that will be processed by phpDocumentor.<br>
  487. <textarea rows="6" cols="80" name=
  488. "setting[filename]"></textarea> <br>
  489.                       <a href=
  490.                       "javascript:addFile(document.dataForm.elements[4])">
  491.                       Add the file in the help box</a> 
  492.                    </td>
  493.                 </tr>
  494.                 <tr>
  495.                     <td bgcolor="#66cc66">
  496.                       <b>Directory to parse</b> 
  497.                    </td>
  498.                     <td bgcolor="#eeeeee">
  499.                       This is a group of comma-separated directories where php files
  500.                       or tutorials are found that will be processed by phpDocumentor.
  501.                       phpDocumentor automatically parses subdirectories<br>
  502. <textarea rows="6" cols="80" name="setting[directory]"></textarea> <br>
  503.                       <a href=
  504.                       "javascript:addDirectory(document.dataForm.elements[5])">
  505.                       Add the directory in the help box</a> 
  506.                    </td>
  507.                 </tr>
  508.                <tr>
  509.                     <td bgcolor="#66cc66">
  510.                          <b>Files to ignore</b> 
  511.                       </td>
  512.                     <td bgcolor="#eeeeee">
  513.                           A list of files (full path or filename), and patterns
  514.                           to ignore.  Patterns may use wildcards * and ?. To
  515.                           ignore all subdirectories named "test" for example,
  516.                           using "test/"  To ignore all files and directories
  517.                           with test in their name use "*test*"
  518. <textarea rows="6" cols="80" name="setting[ignore]"></textarea> <br>
  519.                          <a href=
  520.                          "javascript:addDirectory(document.dataForm.elements[6])">
  521.                          Add the directory in the help box</a> 
  522.                       </td>
  523.                    </tr>
  524.                <tr>
  525.                     <td bgcolor="#66cc66">
  526.                        <b>Generated Documentation Title</b> 
  527.                     </td>
  528.                     <td bgcolor="#eeeeee">
  529.                        Choose a title for the generated documentation<br>
  530.                        <input type="TEXT" name="setting[title]" size=
  531.                        "80" value="Generated Documentation"><br>
  532.                     </td>
  533.                </tr>
  534.                <tr>
  535.                     <td bgcolor="#3399ff">
  536.                        <b>Default Package Name</b> 
  537.                     </td>
  538.                     <td bgcolor="#cccccc">
  539.                        Choose a name for the default package<br>
  540.                        <input type="TEXT" name="setting[defaultpackagename]" size=
  541.                        "80" value="default"><br>
  542.                     </td>
  543.                <tr>
  544.                <tr>
  545.                     <td bgcolor="#3399ff">
  546.                       <b>Custom Tags</b> 
  547.                    </td>
  548.                       <td bgcolor="#CCCCCC">
  549.                       Custom Tags is a comma-separated list of tags
  550.  you want phpDocumentor to include as valid tags
  551.  in this parse.  An example would be "value, size"
  552.  to allow @value and @size tags.
  553.                       <input type="TEXT" name="setting[customtags]" size=
  554.                       "80"><br>
  555.                    </td>
  556.                </tr>
  557.                <tr>
  558.                     <td bgcolor="#66cc66">
  559.                      <b>Packages to parse</b> 
  560.                   </td>
  561.                     <td bgcolor="#eeeeee">
  562.                       The parameter packages is a group of comma
  563.                       separated names of abstract packages that will
  564.                       be processed by phpDocumentor. All package names must be
  565.                       separated by commas.<br>
  566. <textarea rows="3" cols="80" name=
  567. "setting[packageoutput]"></textarea> <br>
  568.                   </td>
  569.                </tr>
  570.                 <tr>
  571.                     <td bgcolor="#3399ff">
  572.                      <b>Output Information</b> 
  573.                   </td>
  574.                       <td bgcolor="#CCCCCC">
  575.                      <br>
  576.                      Outputformat
  577.                      may be HTML, XML, PDF, or CHM (case-sensitive) in version 1.2.  There is only one Converter
  578.                      for both CHM and PDF, <b>default</b>.  There are 2 HTML Converters,
  579.                      <b>frames</b> and <b>Smarty</b>. <b>frames templates</b> may be any of:<br><br>
  580.                      <b>default, l0l33t, phpdoc.de, phphtmllib, phpedit, DOM/default, DOM/l0l33t, or DOM/phpdoc.de</b>.
  581.                                           <b>Smarty templates</b> may be any of:<br><br>
  582.                      <b>default or PHP</b>.<br>
  583. <br>
  584. There is only 1 template for all other Converters, <b>default</b>
  585. <br>Output type:Converter name:template name <input type=
  586.                      "TEXT" name="setting[output]" value=
  587.                      "HTML:Smarty:default" size="80"><br>
  588. <select name="ConverterSetting">
  589. <option value="HTML:frames:default">HTML:frames:default</option>
  590. <option value="HTML:frames:l0l33t">HTML:frames:l0l33t</option>
  591. <option value="HTML:frames:phpdoc.de">HTML:frames:phpdoc.de</option>
  592. <option value="HTML:frames:phphtmllib">HTML:frames:phphtmllib</option>
  593. <option value="HTML:frames:phpedit">HTML:frames:phpedit</option>
  594. <option value="HTML:frames:DOM/default">HTML:frames:DOM/default</option>
  595. <option value="HTML:frames:DOM/l0l33t">HTML:frames:DOM/l0l33t</option>
  596. <option value="HTML:frames:DOM/phpdoc.de">HTML:frames:DOM/phpdoc.de</option>
  597. <option value="HTML:Smarty:default" SELECTED>HTML:Smarty:default</option>
  598. <option value="PDF:default:default">PDF:default:default</option>
  599. <option value="CHM:default:default">CHM:default:default</option>
  600. <option value="XML:DocBook/peardoc2:default">XML:DocBook/peardoc2:default</option>
  601. </select><br>
  602. <a href=
  603.                      "javascript:addConverter(document.dataForm.elements[11])">
  604.                      Add the converter in the help box</a> <br>
  605. <a href=
  606.                      "javascript:replaceConverter(document.dataForm.elements[11])">
  607.                      Use ONLY the converter in the help box</a> 
  608.                   </td>
  609.                </tr>
  610.                    <tr>
  611.                     <td bgcolor="#3399ff">
  612.                          <b>Parse @access private</b> 
  613.                       </td>
  614.                       <td bgcolor="#CCCCCC">
  615.                          The parameter Parse @access private tells phpDocumentor
  616.           whether to parse elements with an "@access private" tag in their docblock<br>
  617.           <input type="checkbox" name="setting[parseprivate]" value="on">Parse private <br>
  618.                       </td>
  619.                    </tr>
  620.                    <tr>
  621.                     <td bgcolor="#66cc66">
  622.                          <b>JavaDoc-compliant Description parsing.</b> 
  623.                       </td>
  624.                     <td bgcolor="#eeeeee">
  625.                         Normally, phpDocumentor uses several rules to determine the short description.  This switch
  626.                         asks phpDocumentor to simply search for the first period (.) and use it to delineate the short
  627.                         description.  In addition, the short description will not be separated from the long description<br>
  628.           <input type="checkbox" name="setting[javadocdesc]" value="on">JavaDoc-compliant Description <br>
  629.                       </td>
  630.                    </tr>
  631.             </table>
  632.             <input type="HIDDEN" name="interface" value="web"> <input type=
  633.             "HIDDEN" name="submit" value="true"> <input type="SUBMIT" value=
  634.             "Create Documentation" name="submitButton">
  635.       </form>
  636.       <br>
  637.       <br>
  638.       <br>
  639.       <p>
  640.          Joshua Eichorn <a href="mailto:[email protected]">[email protected]</a><br>
  641.          Juan Pablo Morales <a href=
  642.          "mailto:[email protected]">[email protected]</a><br>
  643.          Gregory Beaver <a href=
  644.          "mailto:[email protected]">[email protected]</a>
  645.       </p>
  646.       <p>
  647.          If you have any problems with phpDocumentor, please visit the website: <a
  648.          href='http://phpdocu.sourceforge.net'>phpdocu.sourceforge.net</a> and
  649.          submit a bug
  650.       </p>
  651.       <!-- Created: Tue Jun 26 18:52:40 MEST 2001 -->
  652.       <!-- hhmts start -->
  653. <pre>
  654. Last modified: $Date: 2005/10/17 18:15:16 $
  655. Revision: $Revision: 1.1 $
  656. </pre>
  657.       <!-- hhmts end -->
  658.       <?php //End the else that prints all code
  659.             ?>
  660.    </body>
  661. </html>

Documentation generated on Tue, 24 Oct 2006 09:24:06 -0500 by phpDocumentor 1.3.1