Re: QuickForm_Controller::setDefaults input array structure
| From: | Alexey Borzov | Date: | Mon, 10 May 2004 19:11:41 +0000 |
| Subject: | Re: QuickForm_Controller::setDefaults input array structure | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12397@lists.php.net to get a copy of this message | ||
Hi!
Jeff Schmidt wrote:
To set the defaults, would I pass an array that looks like: array( 'el1'=>'value1', 'el2'=>'value2', el3=>'value3', 'el4'=>'value4', . . .); or would I pass an array that looks like array( 'page1'=>array('el1'=>'value1', . . .), 'page2'=>array('el4'=>'value4', . . .) );The former. Seems like QF_Controller's docs will suffer a lot of improvement soon. :]