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
When you push $item to $items, it doesn't push the value $item points to but rather the reference itself. You'll need to initialize $item each time:
foreach($query->result() as $content)
{
$item = new stdClass();
$item = $this->{'mod_'.$content->type}->get($content->id);
print_r($item);
$items[] = $item;
}
print_r($items);