Re: [fw-general] Zend_Layout, best practices

2012-07-26 Thread Rob Allen
On 23 Jul 2012, at 08:48, Jamie Krasnoo wrote: > Hey all, > > I've been looking at the docs for Zend_Layout, but it's left me with a few > questions. Are there any best practices when creating a layout script? > Also, since the docs show either render or partial being used. If I have a > partial

[fw-general] grab value from request, or from form

2012-07-26 Thread Steve Rayner
In ZF2 i'm trying to hydrate a doctine object from a zend form. The object's properties are populated ok apart from properties that are other objects (ie relationships). Unless there is a better way, i can just create the other objects on the fly and set the properties of the inital object that i'm