Re: svn: /phd/trunk/ package.xml phpdotnet/phd/Package/Generic/XHTML.php
| From: | Hannes Magnusson | Date: | Sat, 15 May 2010 12:48:25 +0000 |
| Subject: | Re: svn: /phd/trunk/ package.xml phpdotnet/phd/Package/Generic/XHTML.php | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-6656@lists.php.net to get a copy of this message | ||
On Fri, May 14, 2010 at 18:02, Richard Quadling <rquadling@php.net> wrote:
> rquadling Fri, 14 May 2010 16:02:45 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=299387
>
> Log:
> Allow <void/> as return type for methodsynopsis tags rather than
> <type>void<\type>
>
> Changed paths:
> U phd/trunk/package.xml
> U phd/trunk/phpdotnet/phd/Package/Generic/XHTML.php
>
> Modified: phd/trunk/package.xml
> ===================================================================
> --- phd/trunk/package.xml 2010-05-14 15:55:36 UTC (rev 299386)
> +++ phd/trunk/package.xml 2010-05-14 16:02:45 UTC (rev 299387)
> @@ -71,6 +71,7 @@
> - Added 'package_dirs' config option to specify package directories to autoload
> from (Hannes)
> - Corrected grammar in Danish translation + fixed encoding (Daniel Egeberg)
> - Allow colored output on Windows, but not by default (Richard Quadling)
> + - Allow <void/> as return type for methodsynopsis tags rather than
> <type>void<\type> (Richard Quadling)
Typo... \type
> Modified: phd/trunk/phpdotnet/phd/Package/Generic/XHTML.php
> ===================================================================
> --- phd/trunk/phpdotnet/phd/Package/Generic/XHTML.php 2010-05-14 15:55:36 UTC (rev 299386)
> +++ phd/trunk/phpdotnet/phd/Package/Generic/XHTML.php 2010-05-14 16:02:45 UTC (rev 299387)
> @@ -240,6 +240,7 @@
> 'set' =>
> 'format_container_chunk_top',
> 'setindex' => 'format_chunk',
> 'shortaffil' => 'format_suppressed_tags',
> + 'sidebar' => 'format_note',
That should get its own news entry
> - public function format_void($open, $name, $attrs) {
> - return ' ( <span class="methodparam">void</span>';
> + public function format_void($open, $name, $attrs, $props) {
> + if ($props['sibling'] == 'methodname') {
> + return ' ( <span
> class="methodparam">void</span>';
> + } else {
> + return '<span class="type"><span
> class="type void">void</span></span>';
> + }
Don't we always create a link for the return types in the PHP package?
The PHP package may need to overwrite that method to provide
consistent linking..
-Hannes