2009年2月9日星期一

Re: [fw-mvc] Subform Again....

On Mon, Feb 9, 2009 at 11:47, angelbit <angelbit88@gmail.com> wrote:
>
> hi to all
>
> $sub= $form->addSubForm(new subformclass,'subform_1');
>
> print_r($sub->getValues());
>
> have adding the subform with ajax and re-add when call submit action,now
> when use getvalues method on subform objet don't retrieve only the subform
> fields but all.

$sub isn't subform object. addSubForm returns $this.

regards,pch

--
Paweł Chuchmała
pawel.chuchmala at gmail dot com

没有评论: