I have a function that pulls rows from a database, the content->id and content->type are them used to dynamically call amethod in an already loaded model to get and format t
You are probably returning references to the item, not the items themselves. It will always the last reference that $item points to.