Re: Re: php_error_docref
| From: | (Marcus Börger) | Date: | Wed, 14 Aug 2002 08:09:52 +0000 |
| Subject: | Re: Re: php_error_docref | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86788@lists.php.net to get a copy of this message | ||
At 10:03 14.08.2002, Jan Lehnardt wrote:
Hi, On Tue, Aug 13, 2002 at 05:26:17PM +0200, Marcus Börger wrote: At 17:05 13.08.2002, Dan Kalowsky wrote:Then there is only the last argument not spoken about yet: Externally developed extensions. marcusOn Tue, 13 Aug 2002, Marcus [iso-8859-1] Börger wrote:"http://www.php.net/manual/en/blahblahblah"2) Can we please remove thelanguage orstyle of use for this? It will tend to force users into oneyour localanother, and not make PHP as friendly/usable to other languages.NO! First you can simply set docref_root in your ini to point toThe point is to be able to direct to external sites not on php.net! For example when a function is just a wrapper around a library then you can use the absolute form of the docref parameter ("http://<site>") to point to the library's website. if the PHP function is 'just a wrapper' the manual (at least should) contain a link to external documentation (if available). I see nothing wrong with limiting linking just to <mirror>.php.netcopy of the manual in whatever language and Second it is a problem of the php website. It should automatically redirect from php.net/function.<functionname> to php.net/manual/<yourlanguage>/<functionname>.phpI'm not sure I see the point still. What I'm proposing is not allowing: php_error_docref("http://www.php.net/manual/en/function.fopen" TSRMLS_CC, E_WARNING, "Spongebob Square Pants rules");