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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -