Req #9942 [Opn->Csd]: Implement a setSeperator()-method

From: Date: Thu, 17 Sep 2009 22:16:38 +0000
Subject: Req #9942 [Opn->Csd]: Implement a setSeperator()-method
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-1667@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=9942&edit=1 ID: 9942 Updated by: borz_off@cs.msu.su Reported By: sw at brainbits dot net Summary: Implement a setSeperator()-method -Status: Open +Status: Closed Type: Feature/Change Request Package: HTML_QuickForm2 Operating System: Linux PHP Version: 5.1.6 -Assigned To: +Assigned To: avb Roadmap Versions: New Comment: -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. Previous Comments: ------------------------------------------------------------------------ [2007-03-07 12:09:37] avb Feature requests go to HTML_QuickForm2. ------------------------------------------------------------------------ [2007-01-25 10:37:51] sw at brainbits dot net 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 ;-) ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=9942&edit=1

« previous php.pear.bugs (#1667) next »