Symfony2 and Ordering of Relations and Collection Form Fields
How Symfony2 and Doctrine's @ORM\OrderBy annotation sorts related entities and collection form fields by a chosen column instead of database ID order.
Read the postPosts tagged doctrine from Setfive.
15 posts
How Symfony2 and Doctrine's @ORM\OrderBy annotation sorts related entities and collection form fields by a chosen column instead of database ID order.
Read the postHow Doctrine 1.2's generated findBy* regex can exceed PHP's regex compilation limit on tables with hundreds of columns, and why explicit methods provide a workaround.
Read the postHow to partially rebuild Symfony 1.4 Doctrine models and forms for changed components, reducing slow full rebuilds in applications with runtime schema changes.
Read the postExplains why Symfony forms can show an extra “Invalid” error after validation fails and how a callback post-validator prevents it.
Read the postHow to replace a runtime Doctrine connection with the same name in Symfony by closing the existing connection before registering a new DSN.
Read the post