[LON-CAPA-cvs] cvs: loncom /homework response.pm

foxr lon-capa-cvs-allow@mail.lon-capa.org
Thu, 17 May 2007 09:40:49 -0000


foxr		Thu May 17 05:40:49 2007 EDT

  Modified files:              
    /loncom/homework	response.pm 
  Log:
  Comment documentation for get_response_param
  
  
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.163 loncom/homework/response.pm:1.164
--- loncom/homework/response.pm:1.163	Tue Apr 17 20:19:37 2007
+++ loncom/homework/response.pm	Thu May 17 05:40:48 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.163 2007/04/18 00:19:37 albertel Exp $
+# $Id: response.pm,v 1.164 2007/05/17 09:40:48 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1022,7 +1022,16 @@
 	$Apache::response::conceptgroup{'names'};
 
 }
-
+#------------------------------------------------------------
+#
+#  Get a parameter associated with a problem.
+# Parameters:
+#  $id        - the symb of the problem part within the map(?) ($part._$id).
+#  $name      - Name of the parameter to fetch
+#  $default   - Default value for the paramter.
+#
+#  
+#
 sub get_response_param {
     my ($id,$name,$default)=@_;
     my $parameter;