[LON-CAPA-cvs] cvs: rat / lonambiguous.pm lonpage.pm lonpageflip.pm lonratparms.pm lonratsrv.pm lonsequence.pm

jms lon-capa-cvs-allow@mail.lon-capa.org
Thu, 20 Nov 2008 15:19:06 -0000


This is a MIME encoded message

--jms1227194346
Content-Type: text/plain

jms		Thu Nov 20 15:19:06 2008 EDT

  Modified files:              
    /rat	lonpageflip.pm lonpage.pm lonratparms.pm lonambiguous.pm 
        	lonsequence.pm lonratsrv.pm 
  Log:
  Moved POD comments to bottom of file
  
--jms1227194346
Content-Type: text/plain
Content-Disposition: attachment; filename="jms-20081120151906.txt"

Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.76 rat/lonpageflip.pm:1.77
--- rat/lonpageflip.pm:1.76	Thu Nov 20 13:11:43 2008
+++ rat/lonpageflip.pm	Thu Nov 20 15:19:05 2008
@@ -2,7 +2,7 @@
 #
 # Page flip handler
 #
-# $Id: lonpageflip.pm,v 1.76 2008/11/20 13:11:43 jms Exp $
+# $Id: lonpageflip.pm,v 1.77 2008/11/20 15:19:05 jms Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -27,46 +27,6 @@
 # http://www.lon-capa.org/
 #
 
-=pod
-
-=head1 NAME
-
-Apache::lonpageflip
-
-=head1 SYNOPSIS
-
-Deals with forward, backward, and other page flips.
-
-This is part of the LearningOnline Network with CAPA project
-described at http://www.lon-capa.org.
-
-=head1 OVERVIEW
-
-(empty)
-
-=head1 SUBROUTINES
-
-=over cleanup()
-
-=item addrid()
-
-=item fullmove()
-
-=item hash_src()
-
-=item move()
-
-=item get_next_possible_move()
-
-=item navlaunch()
-
-=item first_accessible_resource()
-
-=item handler()
-
-=back
-
-=cut
 
 
 package Apache::lonpageflip;
@@ -570,6 +530,46 @@
 1;
 __END__
 
+=pod
+
+=head1 NAME
+
+Apache::lonpageflip
+
+=head1 SYNOPSIS
+
+Deals with forward, backward, and other page flips.
+
+This is part of the LearningOnline Network with CAPA project
+described at http://www.lon-capa.org.
+
+=head1 OVERVIEW
+
+(empty)
+
+=head1 SUBROUTINES
+
+=over cleanup()
+
+=item addrid()
+
+=item fullmove()
+
+=item hash_src()
+
+=item move()
+
+=item get_next_possible_move()
+
+=item navlaunch()
+
+=item first_accessible_resource()
+
+=item handler()
+
+=back
+
+=cut
 
 
 
Index: rat/lonpage.pm
diff -u rat/lonpage.pm:1.88 rat/lonpage.pm:1.89
--- rat/lonpage.pm:1.88	Thu Nov 20 13:11:43 2008
+++ rat/lonpage.pm	Thu Nov 20 15:19:05 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Page Handler
 #
-# $Id: lonpage.pm,v 1.88 2008/11/20 13:11:43 jms Exp $
+# $Id: lonpage.pm,v 1.89 2008/11/20 15:19:05 jms Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -27,105 +27,7 @@
 #
 ###
 
-=head1 NAME
-
-Apache::lonpage - Page Handler
-
-=head1 SYNOPSIS
-
-Invoked by /etc/httpd/conf/srm.conf:
-
- <LocationMatch "^/res/.*\.page$>
- SetHandler perl-script
- PerlHandler Apache::lonpage
- </LocationMatch>
-
-=head1 INTRODUCTION
-
-This module renders a .page resource.
-
-This is part of the LearningOnline Network with CAPA project
-described at http://www.lon-capa.org.
-
-=head1 HANDLER SUBROUTINE
-
-This routine is called by Apache and mod_perl.
-
-=over 4
-
-=item *
-
-set document type for header only
-
-=item *
-
-tie db file
-
-=item *
-
-render page
-
-=item *
-
-add to symb list
-
-=item *
-
-page parms
-
-=item *
-
-Get SSI output, post parameters
 
-=item *
-
-SSI cell rendering
-
-=item *
-
-Deal with Applet codebases
-
-=item *
-
-Build page
-
-=item *
-
-send headers
-
-=item *
-
-start body
-
-=item *
-
-start form
-
-=item *
-
-start table
-
-=item *
-
-submit element, etc, render page, untie hash
-
-=back
-
-=head1 OTHER SUBROUTINES
-
-=over 4
-
-=item *
-
-euclid() : Euclid's method for determining the greatest common denominator.
-
-=item *
-
-tracetable() : Build page table.
-
-=back
-
-=cut
 
 
 package Apache::lonpage;
@@ -692,6 +594,104 @@
 __END__
 
 
+=head1 NAME
+
+Apache::lonpage - Page Handler
+
+=head1 SYNOPSIS
+
+Invoked by /etc/httpd/conf/srm.conf:
+
+ <LocationMatch "^/res/.*\.page$>
+ SetHandler perl-script
+ PerlHandler Apache::lonpage
+ </LocationMatch>
+
+=head1 INTRODUCTION
+
+This module renders a .page resource.
+
+This is part of the LearningOnline Network with CAPA project
+described at http://www.lon-capa.org.
+
+=head1 HANDLER SUBROUTINE
+
+This routine is called by Apache and mod_perl.
+
+=over 4
+
+=item *
+
+set document type for header only
+
+=item *
+
+tie db file
+
+=item *
+
+render page
+
+=item *
+
+add to symb list
+
+=item *
+
+page parms
+
+=item *
+
+Get SSI output, post parameters
 
+=item *
+
+SSI cell rendering
+
+=item *
+
+Deal with Applet codebases
+
+=item *
+
+Build page
+
+=item *
+
+send headers
+
+=item *
+
+start body
+
+=item *
+
+start form
+
+=item *
+
+start table
+
+=item *
+
+submit element, etc, render page, untie hash
+
+=back
+
+=head1 OTHER SUBROUTINES
+
+=over 4
+
+=item *
+
+euclid() : Euclid's method for determining the greatest common denominator.
+
+=item *
+
+tracetable() : Build page table.
+
+=back
+
+=cut
 
 
Index: rat/lonratparms.pm
diff -u rat/lonratparms.pm:1.25 rat/lonratparms.pm:1.26
--- rat/lonratparms.pm:1.25	Tue Nov 11 16:40:38 2008
+++ rat/lonratparms.pm	Thu Nov 20 15:19:05 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Set parameters inside of the RAT
 #
-# $Id: lonratparms.pm,v 1.25 2008/11/11 16:40:38 jms Exp $
+# $Id: lonratparms.pm,v 1.26 2008/11/20 15:19:05 jms Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -26,34 +26,6 @@
 # http://www.lon-capa.org/
 #
 
-=head1 NAME
-
-Apache::lonratparams
-
-=head1 SYNOPSIS
-
-Handler to set resource parameters inside of
-the RAT based on metadata.
-
-This is part of the LearningOnline Network with CAPA project
-described at http://www.lon-capa.org.
-
-=head1 HANDLER SUBROUTINE
-
-handler()
-
-=head1 OTHER SUBROUTINES
-
-=over
-
-=item *
-
-none
-
-=back
-
-=cut
-
 package Apache::lonratparms;
 
 use strict;
@@ -180,3 +152,33 @@
 1;
 __END__
 
+
+
+=head1 NAME
+
+Apache::lonratparams
+
+=head1 SYNOPSIS
+
+Handler to set resource parameters inside of
+the RAT based on metadata.
+
+This is part of the LearningOnline Network with CAPA project
+described at http://www.lon-capa.org.
+
+=head1 HANDLER SUBROUTINE
+
+handler()
+
+=head1 OTHER SUBROUTINES
+
+=over
+
+=item *
+
+none
+
+=back
+
+=cut
+
Index: rat/lonambiguous.pm
diff -u rat/lonambiguous.pm:1.22 rat/lonambiguous.pm:1.23
--- rat/lonambiguous.pm:1.22	Tue Nov 11 16:06:46 2008
+++ rat/lonambiguous.pm	Thu Nov 20 15:19:05 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to resolve ambiguous file locations
 #
-# $Id: lonambiguous.pm,v 1.22 2008/11/11 16:06:46 jms Exp $
+# $Id: lonambiguous.pm,v 1.23 2008/11/20 15:19:05 jms Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -27,40 +27,6 @@
 #
 
 
-=head1 NAME
-
-Apache::lonambiguous
-
-=head1 SYNOPSIS
-
-Handler to resolve ambiguous file locations.
-
-This is part of the LearningOnline Network with CAPA project
-described at http://www.lon-capa.org.
-
-=head1 HANDLER SUBROUTINE
-
-make_symb()
-
-and
-
-handler()
-
-=head1 OTHER SUBROUTINES
-
-=over
-
-=item *
-
-cleanup()
-
-=item *
-
-getlost()
-
-=back
-
-=cut
 
 package Apache::lonambiguous;
 
@@ -266,6 +232,40 @@
 
 
 
+=head1 NAME
+
+Apache::lonambiguous
+
+=head1 SYNOPSIS
+
+Handler to resolve ambiguous file locations.
+
+This is part of the LearningOnline Network with CAPA project
+described at http://www.lon-capa.org.
+
+=head1 HANDLER SUBROUTINE
+
+make_symb()
+
+and
+
+handler()
+
+=head1 OTHER SUBROUTINES
+
+=over
+
+=item *
+
+cleanup()
+
+=item *
+
+getlost()
+
+=back
+
+=cut
 
 
 
Index: rat/lonsequence.pm
diff -u rat/lonsequence.pm:1.34 rat/lonsequence.pm:1.35
--- rat/lonsequence.pm:1.34	Tue Nov 18 19:13:37 2008
+++ rat/lonsequence.pm	Thu Nov 20 15:19:05 2008
@@ -2,7 +2,7 @@
 #
 # Sequence Handler
 #
-# $Id: lonsequence.pm,v 1.34 2008/11/18 19:13:37 jms Exp $
+# $Id: lonsequence.pm,v 1.35 2008/11/20 15:19:05 jms Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -27,35 +27,7 @@
 # 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;
 
@@ -352,7 +324,35 @@
 1;
 __END__
 
+=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
 
 
 
Index: rat/lonratsrv.pm
diff -u rat/lonratsrv.pm:1.40 rat/lonratsrv.pm:1.41
--- rat/lonratsrv.pm:1.40	Thu Nov 20 13:51:22 2008
+++ rat/lonratsrv.pm	Thu Nov 20 15:19:05 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Server for RAT Maps
 #
-# $Id: lonratsrv.pm,v 1.40 2008/11/20 13:51:22 jms Exp $
+# $Id: lonratsrv.pm,v 1.41 2008/11/20 15:19:05 jms Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -26,23 +26,6 @@
 # http://www.lon-capa.org/
 #
 
-=head1 NAME
-
-Apache::lonratsrv
-
-=head1 SYNOPSIS
-
-Handler that takes output from RAT and stores
-it on disk. Handles the upper hidden frame of
-the added window that comes up in RAT. (3
-frames come up in RAT server, code, and
-output. This module handles server
-connection.)
-
-This is part of the LearningOnline Network with CAPA project
-described at http://www.lon-capa.org.
-
-=cut
 
 package Apache::lonratsrv;
 
@@ -114,3 +97,22 @@
 
 1;
 __END__
+
+
+=head1 NAME
+
+Apache::lonratsrv
+
+=head1 SYNOPSIS
+
+Handler that takes output from RAT and stores
+it on disk. Handles the upper hidden frame of
+the added window that comes up in RAT. (3
+frames come up in RAT server, code, and
+output. This module handles server
+connection.)
+
+This is part of the LearningOnline Network with CAPA project
+described at http://www.lon-capa.org.
+
+=cut
\ No newline at end of file

--jms1227194346--