[eluser]croustibat[/eluser]
hi everybody,
First thanks m4rw3r for your work. That's really great.
I'm using the ORM class for 2 days, so sorry if i missed something i could find in the manual or in this thread, but i can't figure out how to fetch a related object with its own relationship.
I mean, if you do that :
Code:
$record = $this->artist->find($id);
so you get an "artist" object and then, you want to fetch its related "interviews" :
Code:
$interviews = $record->get_related('interviews');
the $interviews object is ok, but there's not the related object i define in the interview_model, even if i declare __auto_load_relationship = true.
do you have an idea to do that ?
hope I've been clear enough. thanks for your reply.