• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Datamapper object to_array() - including related objects

#1
[eluser]Unknown[/eluser]
Hello,

When you include a related object as a field in the parameters the related object is returned as an array of its id's. This is the intended behaviour of datamapper, however is it possible to instead output the full object?

Thanks,

Jonathan



Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.