symfony1 - symfony 1.4: How to get the assignated id (in the db of course..) of an embedded form's object? -


how assignated id (in db of course..) of embedded form's object?

it's 1:m relation.

sf 1.4

javi

try this:

echo $form->getembeddedform('your_embedded_form_name')->getobject()->getid(); 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -