| … | |
… | |
| 26 | use WeBWorK::ContentGenerator::ProblemSet; |
26 | use WeBWorK::ContentGenerator::ProblemSet; |
| 27 | use WeBWorK::ContentGenerator::ProblemSets; |
27 | use WeBWorK::ContentGenerator::ProblemSets; |
| 28 | use WeBWorK::ContentGenerator::Instructor::Index; |
28 | use WeBWorK::ContentGenerator::Instructor::Index; |
| 29 | use WeBWorK::ContentGenerator::Instructor::UserList; |
29 | use WeBWorK::ContentGenerator::Instructor::UserList; |
| 30 | use WeBWorK::ContentGenerator::Instructor::ProblemSetList; |
30 | use WeBWorK::ContentGenerator::Instructor::ProblemSetList; |
|
|
31 | use WeBWorK::ContentGenerator::Instructor::ProblemSetEditor; |
| 31 | use WeBWorK::ContentGenerator::Test; |
32 | use WeBWorK::ContentGenerator::Test; |
| 32 | use WeBWorK::CourseEnvironment; |
33 | use WeBWorK::CourseEnvironment; |
| 33 | use WeBWorK::DB; |
34 | use WeBWorK::DB; |
| 34 | |
35 | |
| 35 | # This module should be installed as a Handler for the location selected for |
36 | # This module should be installed as a Handler for the location selected for |
| … | |
… | |
| 130 | return WeBWorK::ContentGenerator::Instructor::Index->new($r, $ce, $db)->go; |
131 | return WeBWorK::ContentGenerator::Instructor::Index->new($r, $ce, $db)->go; |
| 131 | } elsif ($instructorArgument eq "userList") { |
132 | } elsif ($instructorArgument eq "userList") { |
| 132 | return WeBWorK::ContentGenerator::Instructor::UserList->new($r, $ce, $db)->go; |
133 | return WeBWorK::ContentGenerator::Instructor::UserList->new($r, $ce, $db)->go; |
| 133 | } elsif ($instructorArgument eq "problemSetList") { |
134 | } elsif ($instructorArgument eq "problemSetList") { |
| 134 | return WeBWorK::ContentGenerator::Instructor::ProblemSetList->new($r, $ce, $db)->go; |
135 | return WeBWorK::ContentGenerator::Instructor::ProblemSetList->new($r, $ce, $db)->go; |
|
|
136 | } elsif ($instructorArgument eq "problemSetEditor") { |
|
|
137 | return WeBWorK::ContentGenerator::Instructor::ProblemSetEditor->new($r, $ce, $db)->go; |
|
|
138 | |
| 135 | } |
139 | } |
| 136 | } elsif ($arg eq "options") { |
140 | } elsif ($arg eq "options") { |
| 137 | return WeBWorK::ContentGenerator::Options->new($r, $ce, $db)->go; |
141 | return WeBWorK::ContentGenerator::Options->new($r, $ce, $db)->go; |
| 138 | } elsif ($arg eq "feedback") { |
142 | } elsif ($arg eq "feedback") { |
| 139 | return WeBWorK::ContentGenerator::Feedback->new($r, $ce, $db)->go; |
143 | return WeBWorK::ContentGenerator::Feedback->new($r, $ce, $db)->go; |