Re: New HTML Form class for PEAR

From: Date: Sat, 01 Sep 2001 19:16:35 +0000
Subject: Re: New HTML Form class for PEAR
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1744@lists.php.net to get a copy of this message
Bertrand Mansion wrote: > > I would like to commit it. Where should I put it ? > Here is its composition : > > Form.php > | > +- Form directory --- > - button.php > - checkbox.php > - date.php > - element.php > - file.php > - group.php > - hidden.php > - image.php > - input.php > - password.php > - radio.php > - reset.php > - select.php > - submit.php > - text.php > - textarea.php > > and it all depends on Html_Common which is also used by Html_Table. > I know it is a bit difficult now with the new directory structure. > People understanding this structure could give me a clue. Thanks. > I think we should "open" a subcategory of HTML called Form, and there put html forms related things. For your class, for example use: HTML/Form/Quick/ and the directory in pear/ module of CVS could be HTML_Form_Quick (you know, -Quick- or whatever you want (what about Form Builder?)). So could get: require 'HTML/Form/Builder.php'; $f = new HTML_Form_Builder; Tomas V.V.Cox

« previous php.pear.dev (#1744) next »