vrana           Fri Mar 17 15:10:18 2006 UTC

  Modified files:              
    /phpdoc/scripts     file-entities.php.in 
  Log:
  See also Categorization (bug #36769)
  
http://cvs.php.net/viewcvs.cgi/phpdoc/scripts/file-entities.php.in?r1=1.42&r2=1.43&diff_format=u
Index: phpdoc/scripts/file-entities.php.in
diff -u phpdoc/scripts/file-entities.php.in:1.42 
phpdoc/scripts/file-entities.php.in:1.43
--- phpdoc/scripts/file-entities.php.in:1.42    Sat Jan 14 15:19:58 2006
+++ phpdoc/scripts/file-entities.php.in Fri Mar 17 15:10:18 2006
@@ -17,7 +17,7 @@
   |             Gabor Hojtsy <[EMAIL PROTECTED]>                              |
   +----------------------------------------------------------------------+
   
-  $Id: file-entities.php.in,v 1.42 2006/01/14 15:19:58 hholzgra Exp $
+  $Id: file-entities.php.in,v 1.43 2006/03/17 15:10:18 vrana Exp $
 */
 
 /**
@@ -84,7 +84,7 @@
 }
 ksort($builtin_extensions);
 
-create_part_file("entities/builtin-extensions.xml", $builtin_extensions, 
'funcref', '&FunctionReference;');
+create_part_file("entities/builtin-extensions.xml", $builtin_extensions, 
'funcref', '&FunctionReference;', '<para>See also <xref 
linkend="extensions"/>.</para>');
 $entities[] = entstr("builtin.extensions", 
"$out_dir/entities/builtin-extensions.xml");
 
 // additional documentation embedded in PECL extensions
@@ -409,8 +409,9 @@
  * @param array  Entities to list in this file
  * @param string XML Id for the files top level <part> tag
  * @param string Title for this <part>
+ * @param string Contents of <partintro>
  */
-function create_part_file ($filename, $entities, $id, $title)
+function create_part_file ($filename, $entities, $id, $title, $partintro = "")
 {
        global $out_dir, $encoding;
 
@@ -420,6 +421,9 @@
        if(count($entities)) {
                fputs($fp, "<part id='$id'>\n");
                fputs($fp, " <title>$title</title>\n");
+               if ($partintro) {
+                       fputs($fp, " <partintro>\n  $partintro\n 
</partintro>\n");
+               }
 
                foreach ($entities as $entity) {
                        fputs($fp, "   $entity\n");

Reply via email to