public function action_all() { $items = Card::get_all(); $view = new View(); $view->items = $items; $view->display('cards/cards_list.php'); }