New form-class to PEAR
| From: | Jonas Delfs | Date: | Sat, 01 Sep 2001 12:07:27 +0000 |
| Subject: | New form-class to PEAR | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-1736@lists.php.net to get a copy of this message | ||
Hi -
I have taken a view at the table-class and I'm very excited.
Then I looked at the form-class and got very disappointed. In my oppinion it
is completely wrong written.
Especially 2 things:
- the form-class takes a lot of arguments, and not arrays, which reduce the
developers freedom to give a form and it's elements the attributes he wants
to.
- the form doesn't have a toHTML() function.
Because of all this, I dicided to write a new class, but because i didn't
expect to replace the old one (because of backwards incompability) I'd named
it 'arrForm'.
I have placed it at http://delfs.dk/arrForm.phps
Because I'm very new at developing for PEAR I would like some respons, and
some guide to how I add this to the CVS etc.
Thanks!
--
Mvh./Best Regards
Jonas Delfs, http://delfs.dk