Req #7681 [Bgs]: what a crappy doc...
| From: | pajoye@php.net | Date: | Sat, 20 May 2006 21:36:23 +0000 |
| Subject: | Req #7681 [Bgs]: what a crappy doc... | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-7941@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=7681&edit=1
ID: 7681
Updated by: pajoye@php.net
Reported By: alman1 at free dot fr
Status: Bogus
Id: 7681
Type: Feature/Change Request
Package: Documentation
Operating System: linux
PHP Version: 5.1.4
New Comment:
I removed your kiddish comments (both). Now please be pollite and keep
your comments a pollite and technical level. No need to reply to this
comment.
Previous Comments:
------------------------------------------------------------------------
[2006-05-20 16:42:25] avb at php dot net
Yes, Lukas, you are right (as usual), the "police baton" part was a bit
over the top. It wasn't exactly "pointless" though: I felt *much* better
after adding this comment than after reading the original "bug report".
Now to the actual "problem" in question. If the original bug reporter
ever cared to look at the source code of defaultRenderer() method
instead of calling the whole docs "shit", he would see the following:
function &defaultRenderer()
{
if (!isset($GLOBALS['_HTML_QuickForm_default_renderer'])) {
include_once('HTML/QuickForm/Renderer/Default.php');
$GLOBALS['_HTML_QuickForm_default_renderer'] =& new
HTML_QuickForm_Renderer_Default();
}
return $GLOBALS['_HTML_QuickForm_default_renderer'];
} // end func defaultRenderer
And if he ever asked a question about the purpose of the method in the
mailing list instead of filling the bug database with this pearl of a
bug report, he'd get an answer, maybe even from me.
------------------------------------------------------------------------
[2006-05-20 16:14:51] lsmith at php dot net
Alain well make concret suggestions. Appearently you know whats wrong
so checkout peardoc and send a patch.
Let me make it clear that I of course am very annoyed with users coming
with aditudes like yours to us. I have gotten my share of that as well:
http://oss.backendmedia.com/MDB2/ExampleS
Just look at the comments.
I do not get why some users feel they have a right to insult people
that provide code for free. So personally I could care less about your
specific problems after how you approached us.
But I still think that we need to not let ourselves get dragged into
such language.
------------------------------------------------------------------------
[2006-05-20 15:48:23] alman1 at free dot fr
no big deal i was a bit rude first
but look...
if i read the doc
i see i should do that
$renderer =& new HTML_QuickForm_Renderer_Default();
then it says go to sample /doc code sample for more details
in sample code it says
$renderer =& $form->defaultRenderer();
i think there i quite some confusion around
------------------------------------------------------------------------
[2006-05-20 15:36:09] lsmith at php dot net
Alex easy on the language there!
I agree that bug reports like this are very unuseful. I do not
understand why people do not use the answers they get on the lists and
IRC to actually help improve documentation. But coming back at people
like that is atleast pointless and will reflect badly on the entire
project.
------------------------------------------------------------------------
[2006-05-20 14:51:32] alman1 at free dot fr
Description:
------------
about quickform and renderers docs
documentation and sample code don't seem in sync
anyway after reading all what i get is chaos and confusion
but i have no idea about how to use quickforms and renderers
why do software that nobody can use or after a lot of time
and tries because the doc is such a shit???
the best software of the world is worst nothing if people dont use it
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=7681&edit=1