public function edit(UserAtEventModel $userAtEvent)
 {
     global $DB;
     $stat = $DB->prepare("UPDATE user_at_event_information SET " . " is_plan_attending=:is_plan_attending, is_plan_maybe_attending=:is_plan_maybe_attending, is_plan_public=:is_plan_public " . " WHERE user_account_id=:user_account_id AND event_id = :event_id");
     $stat->execute(array('user_account_id' => $userAtEvent->getUserAccountId(), 'event_id' => $userAtEvent->getEventId(), 'is_plan_attending' => $userAtEvent->getIsPlanAttending() ? 1 : 0, 'is_plan_maybe_attending' => $userAtEvent->getIsPlanMaybeAttending() ? 1 : 0, 'is_plan_public' => $userAtEvent->getIsPlanPublic() ? 1 : 0));
 }