Hi,
I’m search a way to loop through a returned model / all attributes incl. recursive values (activerecord) which is related to foreign tables by objects. I’ve tried to convert the model by means of toArray() function but I got only the foreign key but I need there a multidimensional array inlcuding sub arrays with content of he foreign tables.
Does anybody have an idea?
Best regards,
T