--- rat/lonsequence.pm 2007/07/11 23:51:02 1.31 +++ rat/lonsequence.pm 2008/11/18 19:13:37 1.34 @@ -2,7 +2,7 @@ # # Sequence Handler # -# $Id: lonsequence.pm,v 1.31 2007/07/11 23:51:02 albertel Exp $ +# $Id: lonsequence.pm,v 1.34 2008/11/18 19:13:37 jms Exp $ # # Copyright Michigan State University Board of Trustees # @@ -27,6 +27,36 @@ # http://www.lon-capa.org/ # +=head1 NAME + +Apache::lonsequence + +=head1 SYNOPSIS + +Handler for showing sequence objects of +educational resources. + +This is part of the LearningOnline Network with CAPA project +described at http://www.lon-capa.org. + +=head1 SUBROUTINES + +=over + +=item handler() + +=item viewmap() + +=item attemptread() + +=item mapread() + +=item start_fresh_session() + +=back + +=cut + package Apache::lonsequence; use strict; @@ -46,10 +76,10 @@ my $successtied; # ----------------------------------------- Attempt to read from resource space sub attemptread { - my $fn=shift; + my ($fn,$unsorted)=@_; &Apache::lonnet::repcopy($fn); if (-e $fn) { - return &LONCAPA::map::attemptread($fn); + return &LONCAPA::map::attemptread($fn,$unsorted); } else { return (); }