sorting - Ordered Many-Many Relationship in Doctrine? -


attempting link categories websites, using websitecategory refclass.

websitecategory has column rank, indicates order in categories should retrieved when call $website->getcategories()

i'm stumped, didn't think difficult. can help?

was not able doctrine order relationship natively (like damien suggesting) instead, added getcategories() function model runs proper query , returns result set.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

ASP.NET Javascript: window.open won't work twice -

jquery - Opera does not change the height of the page. Why? -