private function showVote() { $vote = new voteModel(); $this->smarty->assign("subject", $vote->getFrontVoteSubject()); $this->smarty->assign("items", $vote->getFrontVoteItem()); }