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
Post a Comment