Hi all,
 is there a decorator method to sort collections after i've retrieved
them, or do i have to write a query method in the model?

For example: after I've retrieved a collection of objects
(Personal.class.php) related to one Category using $category-
>getPersonals() method ("Personals" is the foreign alias for
"Category", that relate many Personal objects to one Category), i want
to order this collection by the "order" field of these objects.

Thank you in advance,
Cosimo Zecchi

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to