/** * Returns TRUE if the specified user has successfully completed the current event for a selected topic, FALSE otherwise * * @param int $userID * @param int $topicID * @return boolean */ public static function isCurrentEventCompleted($userID, $topicID) { return EventDatabaseManager::getCurrentEventStatus($userID, $topicID) == 'completed'; }