Re: HTML_QuickForm_ElementTable

From: Date: Sat, 08 Apr 2006 08:48:51 +0000
Subject: Re: HTML_QuickForm_ElementTable
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42163@lists.php.net to get a copy of this message
Justin Patrin wrote: >Due to the proddings of Helgi I've finally cleaned up the ElementTable >element which is part of DB_DataObject_FormBuilder for proposal as its >own package. I've updated the code a bit and even fixed a bug when >addElement is used before the table is filled out. Let me know what >you think. > >http://pear.php.net/pepr/pepr-proposal-show.php?id=387 I wouldn't use a style attribute in the generated html. The style should be up to the user and can be defined in the css using the class name. I'd also set a specific class name for the table header and the table itself. You could also use the new HTML_table functionality with a thead, tbody and tfoot. If you need options like column_names, row_names, use an $options array in the constructor and a setOptions() method. -- Bertrand Mansion Mamasam Tel : +33 1 48 89 88 26 http://www.mamasam.com Creative Internet Solutions

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