Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.3.2

Request #9942 Implement a setSeperator()-method
Submitted: 2007-01-25 15:37 UTC
From: sw at brainbits dot net Assigned: avb
Status: Closed Package: HTML_QuickForm2
PHP Version: 5.1.6 OS: Linux
Roadmaps: 0.3.0    
Subscription  


 [2007-01-25 15:37 UTC] sw at brainbits dot net (Stephan Wentz)
Description: ------------ After creating a group you have no chance (but setting the _separator-attribute directly) to change the group seperator. It would be nice to have a method for this, linear to the other elements. Looking at the code, this should suffice: setSeparator($separator) { $this->_separator = $separator; } Test script: --------------- $form = new HTML_QuickForm(); $form->addGroup('test'); $form->setSeparator('<br>'); Expected result: ---------------- Have a group with separator <br> Actual result: -------------- an error because the method doesn't exist ;-)

Comments

 [2007-03-07 17:09 UTC] avb (Alexey Borzov)
Feature requests go to HTML_QuickForm2.
 [2009-09-18 03:16 UTC] avb (Alexey Borzov)
-Status: Open +Status: Closed -Assigned To: +Assigned To: avb
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.