$things = Model_Items::find_by_id(array(1, 2, 3));
foreach($things as $item)
$item
is undefined (and xdebug indicates that $things
is undefined at this point) php oil console
and call Model_Items::find_by_id
, I get the correct response.<? foreach($things as $item): ?>
<li><?= View::forge('blocks/item_default', array('item'=> $item) );?></li>
<? endforeach; ?>
It looks like you're new here. If you want to get involved, click one of these buttons!