Re: QuickForm_Controller

From: Date: Mon, 08 Sep 2003 16:58:26 +0000
Subject: Re: QuickForm_Controller
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7648@lists.php.net to get a copy of this message
<borz_off@cs.msu.su> wrote : > Hi! > > LIMBOURG Arnaud wrote: >> Is there a way to get the values for every page ? >> >> I was thinking about something like >> >> $values= array >> 'page1' (or whatever you named it) => array('field' => >> 'value'), >> 'page2' (or whatever you named it) => array('field' => >> 'value') >> ); > > You can use the container() method: > > http://pear.php.net/manual/en/package.html.html-quickform-controller.html-quic > kform-controller.container.php Maybe we could add exportValue($page, $elementName) in complement to exportValues(). This would make it lighter to access the previously submitted values, instead of : $data =& $this->controller->container(); $myValue = $data['values'][$page][$elementName]; What do you think about that ? Bertrand Mansion Mamasam

« previous php.pear.general (#7648) next »