public static function getWithVotes($id) { $poll = PollModel::getByID($id); // trunc function return $poll; }