[fw-general] Re: zf1: about retrieving subforms
I forgot to say that I'm instantiang the forms in the controller like this: for($i = 0; $i < 6; $i++) { $form = new ContractLink_Form_ContractOMFOverrideAppendix(); $form->setElementsBelongTo('override' . $i); if(isset($overrides[$i])) { $form->populate($overrides[$i]); } $formSuper->addSubForm($form, 'OMFOverrideAppendixForm' . $i); } Javi 2013/1/22 Javier Garcia > Hi, > > I have a form that contains 5 subforms of the class A, and another subform > of the class B. > > I want to show in the view first the subforms of the class A but i dont > know how to retrieve only them.. > > Should i create another subform that contains the 5 subforms of the class > A? > Is there any way to get the subform based on a pattern? > > I'm using zf 1. > > Javi >
[fw-general] zf1: about retrieving subforms
Hi, I have a form that contains 5 subforms of the class A, and another subform of the class B. I want to show in the view first the subforms of the class A but i dont know how to retrieve only them.. Should i create another subform that contains the 5 subforms of the class A? Is there any way to get the subform based on a pattern? I'm using zf 1. Javi -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com
[fw-general] Re: [zf2] Class Map Generator utility write path with //
Ralf Eggert wrote > Hi, > > what happens if you move to the Album path first: > > cd /home/fb/public_html/gs/module/Album > php /home/fb/public_html/gs/vendor/bin/classmap_generator.php > > Do you still encounter the double slash? > > Regards, > > Ralf > > -- > List: > fw-general@.zend > Info: http://framework.zend.com/archives > Unsubscribe: > fw-general-unsubscribe@.zend No, it works fine. Bye -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/zf2-Class-Map-Generator-utility-write-path-with-tp4658798p4658818.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com
[fw-general] Re: [zf2] Class Map Generator utility write path with //
weierophinney wrote > On Sun, Jan 20, 2013 at 9:47 AM, whisher < > whisher06@ > > wrote: >> I've used the map generator utility successfully >> with this comand >> php /home/fb/public_html/gs/vendor/bin/classmap_generator.php -w -l >> /home/fb/public_html/gs/module/Album -o >> /home/fb/public_html/gs/module/Album/autoload_classmap.php >> // Generated by ZF2's ./bin/classmap_generator.php >> return array( >> 'Album\Module' => __DIR__ . >> '//Module.php', > >> I'm wondring if it's all ok (my doubt is about the double //) > > I've never witnessed the additional slash occurring when I've run the > utility; what version of ZF2 are you using? > > Also, to answer your question: it won't cause any issues. > > > -- > Matthew Weier O'Phinney > Project Lead| > matthew@ > Zend Framework | http://framework.zend.com/ > PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc > > -- > List: > fw-general@.zend > Info: http://framework.zend.com/archives > Unsubscribe: > fw-general-unsubscribe@.zend I'm using the 2.0.6 version. Thanks for the explanation about the double slashes. Bye -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/zf2-Class-Map-Generator-utility-write-path-with-tp4658798p4658817.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com