public function actionAll() { $article = new ResourceModel(); $article->name = 'fukuro'; $article->description = 'Lorem ipsum dolor sit amet'; $article->insert(); /* echo 'actionAll'; $items = Resource::getAll(); $show = new Show(); $show->assign('items', $items); $show->items = $items; $show->display('resource/all.php'); include __DIR__.'/../views/resource/all.php';*/ }