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