version 1.13, 2000/12/11 23:47:36
|
version 1.17, 2001/01/08 21:52:04
|
Line 7 package Apache::response;
|
Line 7 package Apache::response;
|
use strict; |
use strict; |
|
|
sub BEGIN { |
sub BEGIN { |
&Apache::lonxml::register('Apache::response',('responseparam','caparesponse')); |
&Apache::lonxml::register('Apache::response',('responseparam','caparesponse','numericalresponse','radiobuttonresponse')); |
} |
} |
|
|
sub start_response { |
sub start_response { |
Line 80 sub mandatory_part_meta {
|
Line 80 sub mandatory_part_meta {
|
# |
# |
} |
} |
|
|
|
sub check_for_previous { |
|
return '0'; |
|
} |
|
|
|
sub start_numericalresponse { |
|
require Apache::caparesponse; |
|
import Apache::caparesponse; |
|
my ($target,$token,$parstack,$parser,$safeeval,$style)=@_; |
|
Apache::caparesponse::start_numericalresponse($target,$token,$parstack,$parser,$safeeval,$style);; |
|
return ""; |
|
} |
|
|
sub start_caparesponse { |
sub start_caparesponse { |
require Apache::caparesponse; |
require Apache::caparesponse; |
import Apache::caparesponse; |
import Apache::caparesponse; |
Line 89 sub start_caparesponse {
|
Line 101 sub start_caparesponse {
|
return ""; |
return ""; |
} |
} |
|
|
|
sub start_radiobuttonresponse { |
|
require Apache::radiobuttonresponse; |
|
import Apache::radiobuttonresponse; |
|
my ($target,$token,$parstack,$parser,$safeeval,$style)=@_; |
|
Apache::radiobuttonresponse::start_radiobuttonresponse($target,$token,$parstack,$parser,$safeeval,$style);; |
|
return ""; |
|
} |
|
|
sub start_responseparam { |
sub start_responseparam { |
my ($target,$token,$parstack,$parser,$safeeval)=@_; |
my ($target,$token,$parstack,$parser,$safeeval)=@_; |
if ($target eq 'grade') { |
if ($target eq 'grade') { |