Any chance to convert Zend_Form object to .ini format?
How to achieve this?
--
regards
takeshin
--
View this message in context:
http://www.nabble.com/Zend_Form-save-to-ini-tp24979523p24979523.html
Sent from the Zend Framework mailing list archive at Nabble.com.
On Saturday 15 August 2009 00:21:06 admirau wrote:
>Any chance to convert Zend_Form object to .ini format?
>How to achieve this?
http://framework.zend.com/manual/en/zend.form.quickstart.html#zend.form.quickstart.config
What method should i use if i want to give input values to the element of the
form(which is configed by .ini)
my code:
$config = new Zend_Config_Ini($place, $groupname);
$form = new Zend_Form($config->user->edit);
now is the edit form, so i should give the form elements their values read
from db
On Saturday 15 August 2009 07:31:37 UpNow wrote:
>now is the edit form, so i should give the form elements their values read
>from db.
>which method use?
>$form->???
>
>Help me! Thanks.:-D
$form->getElement('elementName')
->setValue('foo');
or
$form->populate($data);
Also,
http://framewo