#43489 [Ana->Fbk]: Class synopsis return types are not links

From: Date: Tue, 04 Dec 2007 12:21:23 +0000
Subject: #43489 [Ana->Fbk]: Class synopsis return types are not links
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-320@lists.php.net to get a copy of this message
ID: 43489 Updated by: bjori@php.net Reported By: ezyang@php.net -Status: Analyzed +Status: Feedback Bug Type: Doc Build problem Operating System: Windows Vista PHP Version: Irrelevant New Comment: We should be consistent.. Either all <fieldsynopsis><type>s should be links or none... Or maybe always link <type> if its a classname (methodparam, methodsynopsis, classsynopsisinfo..)? Previous Comments: ------------------------------------------------------------------------ [2007-12-04 09:44:39] bjori@php.net See phpdotnet::format_type_text(), we should probably add a default case there that checks if class.$type exists - and if so, link to it. ------------------------------------------------------------------------ [2007-12-03 20:41:08] ezyang@php.net Description: ------------ Inside the generated class synopsis, return types for method are often classes. These classes should be linkified to point to their respective documentation page. Reproduce code: --------------- <fieldsynopsis> <modifier>readonly</modifier> <modifier>public</modifier> <type>DOMElement</type> <varname linkend="domdocument.props.documentelement">documentElement</varname> </fieldsynopsis> Expected result: ---------------- DOMElement in generated output is link Actual result: -------------- Class name is not. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43489&edit=1

« previous php.doc.bugs (#320) next »