svn: /phpdoc/doc-base/trunk/scripts/docgen/ docgen.php
| From: | Richard Quadling | Date: | Tue, 14 Jun 2011 12:48:47 +0000 |
| Subject: | svn: /phpdoc/doc-base/trunk/scripts/docgen/ docgen.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8262@lists.php.net to get a copy of this message | ||
rquadling Tue, 14 Jun 2011 12:48:47 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312146
Log:
Replace the namespace separator (\) with a dot (.) in the filenames.
e.g.
The funciton Functional\all will have en\reference\functional\functions\functional.all.xml
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-06-14 12:27:31 UTC (rev 312145)
+++ phpdoc/doc-base/trunk/scripts/docgen/docgen.php 2011-06-14 12:48:47 UTC (rev 312146)
@@ -162,7 +162,7 @@
function format_filename($name) { /* {{{ */
$name = strtolower(trim($name));
$name = ltrim($name, '_');
- $name = str_replace('_', '-', $name);
+ $name = str_replace(array('_', '\\'), array('-',
'.'), $name);
return $name;
}
/* }}} */