WeBWorK::ContentGenerator::Instructor - Abstract superclass for the Instructor tools, providing useful utility functions.
Assigns the given set and all problems contained therein to the given user. If the set (or any problems in the set) are already assigned to the user, a list of failure messages is returned.
Unassigns the given set and all problems therein from the given user.
Assigns the given problem to the given user. If the problem is already assigned to the user, an error string is returned.
Unassigns the given problem from the given user.
assignSetToAllUsers($setID)
Assigns the set specified and all problems contained therein to all users in the course. This is more efficient than repeatedly calling assignSetToUser(). If any assignments fail, a list of failure messages is returned.
unassignSetFromAllUsers($setID)
Unassigns the specified sets and all problems contained therein from all users.
assignAllSetsToUser($userID)
Assigns all sets in the course and all problems contained therein to the specified user. This is more efficient than repeatedly calling assignSetToUser(). If any assignments fail, a list of failure messages is returned.
unassignAllSetsFromUser($userID)
Unassigns all sets and all problems contained therein from the specified user.
Assign each of the given sets to each of the given users. If any assignments fail, a list of failure messages is returned.
Unassign each of the given sets from each of the given users.
assignProblemToAllSetUsers($GlobalProblem)
Assigns the problem specified to all users to whom the problem's set is assigned. If any assignments fail, a list of failure messages is returned.