| … | |
… | |
| 120 | return WeBWorK::ContentGenerator::ProblemSets->new($r, $ce, $db)->go; |
120 | return WeBWorK::ContentGenerator::ProblemSets->new($r, $ce, $db)->go; |
| 121 | } elsif ($arg eq "hardcopy") { |
121 | } elsif ($arg eq "hardcopy") { |
| 122 | my $hardcopyArgument = shift @components; |
122 | my $hardcopyArgument = shift @components; |
| 123 | $hardcopyArgument = "" unless defined $hardcopyArgument; |
123 | $hardcopyArgument = "" unless defined $hardcopyArgument; |
| 124 | return WeBWorK::ContentGenerator::Hardcopy->new($r, $ce, $db)->go($hardcopyArgument); |
124 | return WeBWorK::ContentGenerator::Hardcopy->new($r, $ce, $db)->go($hardcopyArgument); |
|
|
125 | } elsif ($arg eq "instructor") { |
|
|
126 | return WeBWorK::ContentGenerator::Instructor->new($r, $ce, $db)->go; |
| 125 | } elsif ($arg eq "prof") { |
127 | } elsif ($arg eq "prof") { |
| 126 | return WeBWorK::ContentGenerator::Professor->new($r, $ce, $db)->go; |
128 | return WeBWorK::ContentGenerator::Professor->new($r, $ce, $db)->go; |
| 127 | } elsif ($arg eq "options") { |
129 | } elsif ($arg eq "options") { |
| 128 | return WeBWorK::ContentGenerator::Options->new($r, $ce, $db)->go; |
130 | return WeBWorK::ContentGenerator::Options->new($r, $ce, $db)->go; |
| 129 | } elsif ($arg eq "feedback") { |
131 | } elsif ($arg eq "feedback") { |