<?php 

$model = new Post();

$data = $model->findAll();
foreach ($data as $item)
{
     echo $item->name;
}

?>