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

From: Date: Fri, 28 Jan 2011 15:54:34 +0000
Subject: svn: /phpdoc/doc-base/trunk/scripts/docgen/ docgen.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7691@lists.php.net to get a copy of this message
philip Fri, 28 Jan 2011 15:54:34 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=307823 Log: Implemented entities 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-01-28 15:42:51 UTC (rev 307822) +++ phpdoc/doc-base/trunk/scripts/docgen/docgen.php 2011-01-28 15:54:34 UTC (rev 307823) @@ -506,7 +506,7 @@ if ($properties = $class->getProperties(ReflectionProperty::IS_PUBLIC | ReflectionProperty::IS_PROTECTED | ReflectionProperty::IS_STATIC)) { $ident = get_ident_size('PROPERTIES_LIST', $content); - $markup = "<classsynopsisinfo role=\"comment\">Properties</classsynopsisinfo>\n"; + $markup = "<classsynopsisinfo role=\"comment\">&Properties;</classsynopsisinfo>\n"; foreach ($properties as $property) { /* Don't get inherited properties */ if ($property->getDeclaringClass()->name != $class->name) { @@ -562,7 +562,7 @@ /* {METHOD_XINCLUDE} */ $ident = get_ident_size('METHOD_XINCLUDE', $content); $content = preg_replace('/\{METHOD_XINCLUDE\}/', - "\n". str_repeat(' ', $ident) . "<classsynopsisinfo role=\"comment\">Methods</classsynopsisinfo>\n". + "\n". str_repeat(' ', $ident) . "<classsynopsisinfo role=\"comment\">&Methods;</classsynopsisinfo>\n". str_repeat(' ', $ident) ."<xi:include xpointer=\"xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.". $id ."')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])\" />", $content, 1); @@ -570,7 +570,7 @@ if ($parent) { $ident = get_ident_size('INHERITED_XINCLUDE', $content); $content = preg_replace('/\{INHERITED_XINCLUDE\}/', - "\n". str_repeat(' ', $ident) ."<classsynopsisinfo role=\"comment\">Inherited methods</classsynopsisinfo>\n". + "\n". str_repeat(' ', $ident) ."<classsynopsisinfo role=\"comment\">&InheritedMethods;</classsynopsisinfo>\n". str_repeat(' ', $ident) ."<xi:include xpointer=\"xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.". format_id($parent->getName()) ."')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])\" />\n", $content, 1); } else {

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