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

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -