svn: /phpdoc/doc-base/trunk/scripts/docgen/ docgen.php

From: Date: Sat, 02 Jul 2011 23:17:37 +0000
Subject: svn: /phpdoc/doc-base/trunk/scripts/docgen/ docgen.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8398@lists.php.net to get a copy of this message
vrana Sat, 02 Jul 2011 23:17:37 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312825 Log: Some extensions contain underscores Changed paths: U phpdoc/doc-base/trunk/scripts/docgen/docgen.php Modified: phpdoc/doc-base/trunk/scripts/docgen/docgen.php =================================================================== --- phpdoc/doc-base/trunk/scripts/docgen/docgen.php 2011-07-02 22:46:52 UTC (rev 312824) +++ phpdoc/doc-base/trunk/scripts/docgen/docgen.php 2011-07-02 23:17:37 UTC (rev 312825) @@ -256,7 +256,7 @@ } /* {EXT_NAME_ID} */ - $content = preg_replace('/\{EXT_NAME_ID\}/', $INFO['actual_extension'], $content); + $content = preg_replace('/\{EXT_NAME_ID\}/', format_id($INFO['actual_extension']), $content); /* {EXT_NAME} */ $content = preg_replace('/\{EXT_NAME\}/', ucwords($INFO['actual_extension']), $content); @@ -828,7 +828,7 @@ try { $extension = new ReflectionExtension($name); - $INFO['actual_extension'] = format_id($name); + $INFO['actual_extension'] = $name; write_doc($extension, DOC_EXTENSION); @@ -848,7 +848,7 @@ if (!$INFO['actual_extension']) { if ($extname = $function->getExtensionName()) { - $INFO['actual_extension'] = format_id($extname); + $INFO['actual_extension'] = $extname; } else { add_warning("The function {$name} lacks Reflection information"); } @@ -864,7 +864,7 @@ if (!$INFO['actual_extension']) { if ($extname = $class->getExtensionName()) { - $INFO['actual_extension'] = format_id($extname); + $INFO['actual_extension'] = $extname; } else { add_warning("The method {$name} lacks Reflection information"); } @@ -887,7 +887,7 @@ if (!$INFO['actual_extension']) { if ($extname = $class->getExtensionName()) { - $INFO['actual_extension'] = format_id($extname); + $INFO['actual_extension'] = $extname; } else { add_warning("The class {$name} lacks Reflection information"); }

« previous php.doc.cvs (#8398) next »