DMZ 1.7.1 (DataMapper OverZealous Edition) |
[eluser]anaxamaxan[/eluser]
To add to what TheJim has already accurately pointed out, your code could be explained like this: Code: $b = new Buyer(); Using a simple include_related will likely do the trick in this case, e.g.: Code: $b = new Buyer(); See also the docs section about auto-populating related objects, Setting Up Relationships in the DMZ docs. |
Welcome Guest, Not a member yet? Register Sign In |