php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49124 PhD no longer links <type>s
Submitted: 2009-07-31 19:42 UTC Modified: 2009-09-17 18:53 UTC
From: hannes dot magnusson at gmail dot com Assigned: moacir (profile)
Status: Closed Package: Doc Build problem
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
19 - 16 = ?
Subscribe to this entry?

 
 [2009-07-31 19:42 UTC] hannes dot magnusson at gmail dot com
Description:
------------
PhD 0_4 links to "unknown types" (<types>) in some cases (methodsynopsis for example), such as "callback" and classnames.

This doesn't seem to be the case in Enterprise PhD anymore.


Reproduce code:
---------------
  <methodsynopsis>
   <type>DOMNode</type><methodname>DOMNode::insertBefore</methodname>
   <methodparam><type>DOMNode</type><parameter>newnode</parameter></methodparam>
   <methodparam choice="opt"><type>DOMNode</type><parameter>refnode</parameter></methodparam>
  </methodsynopsis>


Expected result:
----------------
  <div class="methodsynopsis dc-description">
   <span class="type"><a href="class.domnode.php" class="type DOMNode">DOMNode</a></span> <span class="methodname"><b>DOMNode::insertBefore</b></span>
    ( <span class="methodparam"><span class="type"><a href="class.domnode.php" class="type DOMNode">DOMNode</a></span> <tt class="parameter">$newnode</tt></span>

   [, <span class="methodparam"><span class="type"><a href="class.domnode.php" class="type DOMNode">DOMNode</a></span> <tt class="parameter">$refnode</tt></span>
  ] )</div>


Actual result:
--------------
  <div class="methodsynopsis dc-description">
    <span class="type">DOMNode</span> DOMNode::insertBefore
    ( <span class="methodparam"> <span class="type">DOMNode</span>  <tt class="parameter">$newnode</tt></span>

   [, <span class="methodparam"> <span class="type">DOMNode</span>  <tt class="parameter">$refnode</tt></span>
  ] )</div>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-17 18:53 UTC] moacir@php.net
fixed in 0.9
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 23:01:29 2024 UTC