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

Bug #70 Flexy renderer: label can be array of labels
Submitted: 2003-10-06 07:16 UTC
From: jeroen at zwolnet dot com Assigned: mixtli
Status: Closed Package: HTML_QuickForm
PHP Version: Irrelevant OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2003-10-06 07:16 UTC] jeroen at zwolnet dot com
Description: ------------ PROBLEM: The Flexy renderer does not handle labels correctly if it is an array. WORKAROUND: subclass HTML_QuickForm_Renderer_ObjectFlexy::_elementToObject and do something like: if (is_array($label)) { $element->setLabel($label[0]); $ret = parent::_elementToObject($element, $required, $error); $ret->label_1 = $label[1]; $ret->label_2 = $label[2]; $ret->label_3 = $label[3]; } else { $ret = parent::_elementToObject($element, $required, $error); }

Comments

 [2003-10-06 11:48 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2003-11-03 12:55 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!