Re: HTML_Select
| From: | Richard Heyes | Date: | Sat, 26 Oct 2002 16:20:30 +0000 |
| Subject: | Re: HTML_Select | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-10270@lists.php.net to get a copy of this message | ||
> As stated before, there is already an HTML_Select class in PEAR. It is in
> /php4/pear/HTML. I don't understand why you release another HTML_Select
> class that only output some stupid country names in your own language.
Perhaps if you had cared to look at the code you would see that it's not
"another HTML_Select", merely some code to accomodate three commonly
needed <select> lists. In fact, whilst you're reading the code, try looking
also at the package.xml file and you'll magically discover that the dir
structure will actually accomodate the HTML_Select class in /php4/pear/
when it (eventually) gets moved across.
> I don't see the use of it when all you have to do is an array of country
> names. Which php user can't do that ?
Well if you you think that, then why on earth do you bother with an
HTML_Select
class at all? Which php user can't write "<select>..." ?
> Furthermore, I don't remember anyone voting for this to be in pear, but I
> might be wrong as I thought it didn't belong here in the first place so I
> didn't bother reading the thread.
Well you only have yourself to blame then. Any reasonable person had they
not
read the thread in the first place, would surely have gone and read it
before
composing such an arrogant message. FYI, a number of people voiced their
support
for the code.
> The only thing it adds to pear is a bit more confusion about what the
> HTML_Select class does.
It adds no such confusion. It adds three commonly needed <select> lists.
--
Richard Heyes
V-webmail - http://www.v-webmail.co.uk