[Deprecated] DMZ 1.5.3 (DataMapper OverZealous Edition) |
[eluser]OverZealous[/eluser]
@Codemaster Snake In that case, the trick is to query the middle item, and join the outer items. (The join_fields methods won't help, in this case, because those would only work on data stored on peoples_qualifications or degrees_qualifications.) In other words: Code: $p = ... // look up person If you want to get all users and their degrees based on a specific qualification attribute, try this: Code: $q = new Qualification(); Updated to fix mistake pointed out by bEz below. |
Welcome Guest, Not a member yet? Register Sign In |