[LON-CAPA-cvs] cvs: loncom /interface lonhelper.pm
bowersj2
lon-capa-cvs@mail.lon-capa.org
Fri, 11 Apr 2003 19:01:46 -0000
bowersj2 Fri Apr 11 15:01:46 2003 EDT
Modified files:
/loncom/interface lonhelper.pm
Log:
Added DATA hash to the helper, for use by helper writers.
Index: loncom/interface/lonhelper.pm
diff -u loncom/interface/lonhelper.pm:1.8 loncom/interface/lonhelper.pm:1.9
--- loncom/interface/lonhelper.pm:1.8 Fri Apr 11 14:16:04 2003
+++ loncom/interface/lonhelper.pm Fri Apr 11 15:01:46 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# .helper XML handler to implement the LON-CAPA helper
#
-# $Id: lonhelper.pm,v 1.8 2003/04/11 18:16:04 bowersj2 Exp $
+# $Id: lonhelper.pm,v 1.9 2003/04/11 19:01:46 bowersj2 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -282,6 +282,10 @@
$self->{STATES} = {};
$self->{DONE} = 0;
+
+ # Used by various helpers for various things; see lonparm.helper
+ # for an example.
+ $self->{DATA} = {};
bless($self, $class);
return $self;