Matthew Weier O'Phinney-3 wrote:
>
> Not currently, though it's something I'd like to change in an upcoming
> version. If you want to see it sooner, extend Zend_Form and create a new
> method for adding sub forms that does not require a Zend_Form object.
>
Ah. Great, thanks for confirming that for me. In the mean time, I just
condensed that code into an iterator loop for simplicity.
-------------
$config = new Zend_Config_Ini('projectForms.ini', 'project form');
$subforms = array();
while($current = $config->project->form->current()) {
$subforms[$config->project->form->key()] =
new Zend_Form_SubForm($config->project->form->current());
$config->project->form->next();
}
$this->addSubForms($subforms);
-------------
--
View this message in context:
http://www.nabble.com/Quick-Question-one-SubForms-and-INI-files-tp19749538p19750962.html
Sent from the Zend Framework mailing list archive at Nabble.com.