Re: QF setConstants/exportValue
| From: | Alexey Borzov | Date: | Thu, 22 Apr 2004 11:07:06 +0000 |
| Subject: | Re: QF setConstants/exportValue | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12024@lists.php.net to get a copy of this message | ||
Hi!
Daniel Kopp wrote:
There is a slight case of misunderstanding. constants / defaults are there to set the displayed values, while getSubmitValues()/exportValues() are there to return submitted ones. exportValues() only uses defaults/constants when no submitted value is present.$this->setConstants(array('fID'=>'')); logfile($this->exportValue('fID')); which is supposed to set fID to '' and after that write that in the logfile. However the logfile does not show '' but something different.Just one additional info: The something seems to be the value submitted to the form before. I just wonder what could be mightier than setConstants and why this seems not to work.