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

actionscript 3 - TweenLite does not work with object -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

c# - Global Variables vs. ASP.NET Session State -