![]() |
Getting Objects related objects in an array or object in datamapper-codeigniter ORM - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Getting Objects related objects in an array or object in datamapper-codeigniter ORM (/showthread.php?tid=42076) |
Getting Objects related objects in an array or object in datamapper-codeigniter ORM - El Forum - 05-25-2011 [eluser]mak.gnu[/eluser] I'm trying to get an result of an classified objects and its all related images Here is a relationship in model Code: User has_one group here is my code co far Code: function preview($id) { I need an array Code: array( |