For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > June 2005 > DB_DataObject_FormBuilder and custom fieldLabels









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author DB_DataObject_FormBuilder and custom fieldLabels
Brett Bieber

2005-06-06, 8:56 pm

wrt DB_DataObject_FormBuilder 0.17.0 and 0.17.1 and perhaps earlier as well?
Just an informative note/question:
Is it correct that if you do not create your formbuilder object by
reference, custom fieldLabels for form fields will not be applied?
So... for example:

$formBuilder = DB_DataObject_FormBuilder::create($do);

needs to be:

$formBuilder =& DB_DataObject_FormBuilder::create($do);

Otherwise $formBuilder->fieldLabels = .... will not be applied.
Perhaps a bug...? If not, maybe the docs need to be changed?
In particular, this page http://opensource.21st.de/19.html

Or maybe I'm messing something up somehow.

--
-Brett

http:saltybeagle.com <http://saltybeagle.com> aim:ianswerq

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com