[LON-CAPA-cvs] cvs: nsdl /lib/perl/Apache/LONCAPA FromTheGateway.pm

harris41 lon-capa-cvs@mail.lon-capa.org
Sun, 14 Jul 2002 07:42:46 -0000


harris41		Sun Jul 14 03:42:46 2002 EDT

  Modified files:              
    /nsdl/lib/perl/Apache/LONCAPA	FromTheGateway.pm 
  Log:
  filling in stubs (but untested; also mismatch with documentation and API
  right now)
  
  
Index: nsdl/lib/perl/Apache/LONCAPA/FromTheGateway.pm
diff -u nsdl/lib/perl/Apache/LONCAPA/FromTheGateway.pm:1.3 nsdl/lib/perl/Apache/LONCAPA/FromTheGateway.pm:1.4
--- nsdl/lib/perl/Apache/LONCAPA/FromTheGateway.pm:1.3	Tue May 28 21:06:58 2002
+++ nsdl/lib/perl/Apache/LONCAPA/FromTheGateway.pm	Sun Jul 14 03:42:46 2002
@@ -39,7 +39,7 @@
 use strict; # enforce handling of variables, references and subroutines
 
 # ============================================================ MODULE VARIABLES
-my $VERSION = sprintf("%d.%02d", q$Revision: 1.3 $ =~ /(\d+)\.(\d+)/);
+my $VERSION = sprintf("%d.%02d", q$Revision: 1.4 $ =~ /(\d+)\.(\d+)/);
 
 # ================================================================= SUBROUTINES
 
@@ -52,20 +52,20 @@
 
 # ------------------------------------------- LONCAPA->view_NSDLgateway_results
 sub view_NSDLgateway_results {
-# Not yet implemented
-# Need to specifically characterize INPUT arguments and OUTPUT data
+    my ($eref)=@_;
+    return Apache::GATEWAY::ToLONCAPA::view_NSDLnetwork_results($eref);
 }
 
 # ----------------------------------- LONCAPA->view_NSDLgateway_metadata_record
 sub view_NSDLgateway_metadata_record {
-# Not yet implemented
-# Need to specifically characterize INPUT arguments and OUTPUT data
+    my ($eref)=@_;
+    return Apache::GATEWAY::ToLONCAPA::view_NSDLnetwork_metadata_record($eref);
 }
 
 # ---------------------------------------- LONCAPA->access_NSDLgateway_resource
 sub access_NSDLgateway_resource {
-# Not yet implemented
-# Need to specifically characterize INPUT arguments and OUTPUT data
+    my ($eref)=@_;
+    return Apache::GATEWAY::ToLONCAPA::access_NSDLnetwork_resource($eref);
 }
 
 1;