--- nsdl/lib/perl/Apache/NSDL/FromTheGateway.pm 2002/05/06 03:46:22 1.1 +++ nsdl/lib/perl/Apache/NSDL/FromTheGateway.pm 2002/07/14 07:43:22 1.7 @@ -19,7 +19,7 @@ # module. # # NSDL ---------> Gateway --------> LON-CAPA -# LON-CAPA =====> Gateway --------> NSDL +# LON-CAPA -----> Gateway ========> NSDL # # SUBROUTINES: # NSDL->view_LONCAPAgateway_results @@ -39,32 +39,32 @@ package Apache::NSDL::FromTheGateway; use strict; # enforce handling of variables, references and subroutines # ============================================================ MODULE VARIABLES -my $VERSION = sprintf("%d.%02d", q$Revision: 1.1 $ =~ /(\d+)\.(\d+)/); +my $VERSION = sprintf("%d.%02d", q$Revision: 1.7 $ =~ /(\d+)\.(\d+)/); # ================================================================= SUBROUTINES # ------------------------------------------- NSDL->view_LONCAPAgateway_results sub view_LONCAPAgateway_results { -# Not yet implemented -# Need to specifically characterize INPUT arguments and OUTPUT data + my ($eref)=@_; + return Apache::GATEWAY::ToNSDL::view_LONCAPAnetwork_results($eref); } # ----------------------------------- NSDL->view_LONCAPAgateway_metadata_record sub view_LONCAPAgateway_metadata_record { -# Not yet implemented -# Need to specifically characterize INPUT arguments and OUTPUT data + my ($eref)=@_; + return Apache::GATEWAY::ToNSDL::view_LONCAPAnetwork_metadata_record($eref); } # ---------------------------------------- NSDL->access_LONCAPAgateway_resource sub access_LONCAPAgateway_resource { -# Not yet implemented -# Need to specifically characterize INPUT arguments and OUTPUT data + my ($eref)=@_; + return Apache::GATEWAY::ToNSDL::access_LONCAPAnetwork_resource($eref); } # ----------------------------------------- NSDL->search_against_LONCAPAgateway sub search_against_LONCAPAgateway { -# Not yet implemented -# Need to specifically characterize INPUT arguments and OUTPUT data + my ($eref)=@_; + return Apache::GATEWAY::ToNSDL::search_against_LONCAPAnetwork($eref); } 1; @@ -96,7 +96,7 @@ module. NSDL ---------E Gateway --------E LON-CAPA -B> Gateway --------E NSDL +LON-CAPA -----E B NSDL> =head2 EXIT CODES @@ -167,6 +167,10 @@ This facilitates the viewing of LON-CAPA B GATEWAY>. +=item B + +n/a + =back =item B @@ -188,6 +192,10 @@ A pointer to the metadata. This provides the content of the resource matching a given request. B GATEWAY>. +=item B + +n/a + =back =item B @@ -198,17 +206,21 @@ B - Scalar string, Scalar string +=item B - Scalar string, Scalar string reference. An exit code is returned as a scalar string. -A list of records returned via an array reference. +Pointer to information about accessing LON-CAPA resource. =item B This accepts access to a LON-CAPA resource. B GATEWAY>. +=item B + +n/a + =back =item B @@ -233,6 +245,10 @@ request to the NSDL-LONCAPA Gateway Serv This launches the search request and receives a pointer as to where the results will be. +=item B + +n/a + =back =back