Re: Re: php_error_docref

From: Date: Wed, 14 Aug 2002 08:03:14 +0000
Subject: Re: Re: php_error_docref
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-86787@lists.php.net to get a copy of this message
Hi, On Tue, Aug 13, 2002 at 05:26:17PM +0200, Marcus Börger wrote: > At 17:05 13.08.2002, Dan Kalowsky wrote: > >On Tue, 13 Aug 2002, Marcus [iso-8859-1] Börger wrote: > > > > > >2) Can we please remove the > > > >"http://www.php.net/manual/en/blahblahblah" > > > >style of use for this? It will tend to force users into one language or > > > >another, and not make PHP as friendly/usable to other languages. > > > > > > NO! First you can simply set docref_root in your ini to point to your local > > > copy 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>.php > > > >I'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"); > > The 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.net Jan -- Q: Thank Jan? A: http://geschenke.an.dasmoped.net/ Got an old and spare laptop? Please send me a mail.

« previous php.dev (#86787) next »