| … | |
… | |
| 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::Instructor::ProblemSetEditor; |
|
|
32 | use WeBWorK::ContentGenerator::Instructor::PGProblemEditor; |
| 32 | use WeBWorK::ContentGenerator::Test; |
33 | use WeBWorK::ContentGenerator::Test; |
| 33 | use WeBWorK::CourseEnvironment; |
34 | use WeBWorK::CourseEnvironment; |
| 34 | use WeBWorK::DB; |
35 | use WeBWorK::DB; |
| 35 | |
36 | |
| 36 | # This module should be installed as a Handler for the location selected for |
37 | # This module should be installed as a Handler for the location selected for |
| … | |
… | |
| 133 | return WeBWorK::ContentGenerator::Instructor::UserList->new($r, $ce, $db)->go; |
134 | return WeBWorK::ContentGenerator::Instructor::UserList->new($r, $ce, $db)->go; |
| 134 | } elsif ($instructorArgument eq "problemSetList") { |
135 | } elsif ($instructorArgument eq "problemSetList") { |
| 135 | return WeBWorK::ContentGenerator::Instructor::ProblemSetList->new($r, $ce, $db)->go; |
136 | return WeBWorK::ContentGenerator::Instructor::ProblemSetList->new($r, $ce, $db)->go; |
| 136 | } elsif ($instructorArgument eq "problemSetEditor") { |
137 | } elsif ($instructorArgument eq "problemSetEditor") { |
| 137 | return WeBWorK::ContentGenerator::Instructor::ProblemSetEditor->new($r, $ce, $db)->go; |
138 | return WeBWorK::ContentGenerator::Instructor::ProblemSetEditor->new($r, $ce, $db)->go; |
| 138 | |
139 | } elsif ($instructorArgument eq "pgProblemEditor") { |
|
|
140 | return WeBWorK::ContentGenerator::Instructor::PGProblemEditor->new($r, $ce, $db)->go(@components); |
| 139 | } |
141 | } |
| 140 | } elsif ($arg eq "options") { |
142 | } elsif ($arg eq "options") { |
| 141 | return WeBWorK::ContentGenerator::Options->new($r, $ce, $db)->go; |
143 | return WeBWorK::ContentGenerator::Options->new($r, $ce, $db)->go; |
| 142 | } elsif ($arg eq "feedback") { |
144 | } elsif ($arg eq "feedback") { |
| 143 | return WeBWorK::ContentGenerator::Feedback->new($r, $ce, $db)->go; |
145 | return WeBWorK::ContentGenerator::Feedback->new($r, $ce, $db)->go; |