version 1.8, 2004/03/18 01:02:20
|
version 1.9, 2004/06/17 18:31:25
|
Line 33 use strict;
|
Line 33 use strict;
|
# set this to return 1 if you want the auto enrollment to run |
# set this to return 1 if you want the auto enrollment to run |
################################ |
################################ |
|
|
sub run { return 0; } |
sub run() { |
|
my $dom = shift; |
|
return 0; |
|
} |
|
|
################################ |
################################ |
# sub fetch_enrollment |
# sub fetch_enrollment |
Line 105 sub run { return 0; }
|
Line 108 sub run { return 0; }
|
#</students> |
#</students> |
# |
# |
# The <startdate> and the <enddate> are the activation date and expiration date |
# The <startdate> and the <enddate> are the activation date and expiration date |
# for this student's role. If they are absent, then neither a start date nor an end |
# for this student's role. If they are absent, then the default access start and |
# date will be set, and the student role will remain active until the role is |
# default access end dates are used. The default access dates can be set when |
# explicitly expired using ENRL -> Drop students. |
# the course is created, and can be modified using the Automated Enrollment |
# An option to set a default activation date, and a default expiration date will |
# Manager, or via the 'Upload a class list','Enroll a single student' or |
# be added to loncreatecourse.pm, and lonpopulate.pm in a future release. |
# 'Modify student data' utilities in the Enrollment Manager, by checking the |
# Once these default parameters are available, they will be used as the start date and |
# 'make these dates the default for future enrollment' checkbox. If no default |
# the end date in cases where the <startdate> and <enddate> fields are blank. |
# dates have been set, then the tudent role will be active immediately, and will |
|
# remain active until the role is explicitly expired using ENRL -> Drop students. |
# If dates are to included in the XML file, they should be in the format |
# If dates are to included in the XML file, they should be in the format |
# YYYY:MM:DD:HH:MM:SS (: separators required). |
# YYYY:MM:DD:HH:MM:SS (: separators required). |
# |
# |
Line 173 sub fetch_enrollment {
|
Line 177 sub fetch_enrollment {
|
################################ |
################################ |
|
|
sub get_sections { |
sub get_sections { |
my $coursecode = shift; |
my ($coursecode,$dom) = @_; |
my @secs = (); |
my @secs = (); |
return @secs; |
return @secs; |
} |
} |
Line 206 sub get_sections {
|
Line 210 sub get_sections {
|
################################# |
################################# |
|
|
sub new_course { |
sub new_course { |
my ($course_id,$owner) = @_; |
my ($course_id,$owner,$dom) = @_; |
my $outcome = 'ok'; |
my $outcome = 'ok'; |
return $outcome; |
return $outcome; |
} |
} |
Line 231 sub new_course {
|
Line 235 sub new_course {
|
############################### |
############################### |
|
|
sub validate_courseID { |
sub validate_courseID { |
my $course_id = shift; |
my ($course_id,$dom) = @_; |
my $outcome = 'ok'; |
my $outcome = 'ok'; |
return $outcome; |
return $outcome; |
} |
} |
Line 268 sub validate_courseID {
|
Line 272 sub validate_courseID {
|
############################### |
############################### |
|
|
sub create_password { |
sub create_password { |
my $authparam = shift; |
my ($authparam,$dom) = @_; |
my $authchk = 'ok'; |
my $authchk = 'ok'; |
my $create_passwd = 0; |
my $create_passwd = 0; |
return ($authparam,$create_passwd,$authchk); |
return ($authparam,$create_passwd,$authchk); |