Re: How to link to reserved words?
| From: | Hannes Magnusson | Date: | Wed, 06 Aug 2008 21:36:36 +0000 |
| Subject: | Re: How to link to reserved words? | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969379249@lists.php.net to get a copy of this message | ||
On Wed, Aug 6, 2008 at 09:59, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
> On Wed, Aug 6, 2008 at 05:20, Paul Reinheimer <preinheimer@gmail.com> wrote:
>> Hey all
>>
>>
>> How do I link to a reserved word in the see also section? Ideally I
>> want to link file_get_contents() to
>>
>> http://ca.php.net/manual/en/reserved.variables.httpresponseheader.php
>
> Good point. You could obviously just use the ID and do <link
> linkend="reserved.variables.httpresponseheader">$http_response_header</link>
..and apparently many have done that, or ignored it and incorrectly
used <literal>, or nothing at all.
This is the reason we should care about semantics people!
Now someone has to go through this mess and use <varname> so we get
these pretty links.
> For that idea to work we would have to, yet again, modify the DocBook
..done. See my previous post to phpdoc@ few minutes ago.
-Hannes