ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/Configuration/ConfigArea.pm
(Generate patch)

Comparing COMP/SCRAM/src/Configuration/ConfigArea.pm (file contents):
Revision 1.12 by williamc, Thu Mar 2 16:02:41 2000 UTC vs.
Revision 1.13 by williamc, Mon Mar 13 10:23:19 2000 UTC

# Line 23 | Line 23
23   # restore(location)             : restore data from file location
24   # meta()                        : return a description string of the area
25   # addconfigitem(url)            : add a new item to the area
26 + # storeconfigobject(confiItemobj) : store a ready made ConfigItem in the local
27 + #                                       area
28   # configitem(@keys)             : return a list of fig items that match
29   #                                 the keys - all if left blank
30   # parentstore()                 : set/return the parent ObjectStore
# Line 340 | Line 342 | sub addconfigitem {
342   #       $self->config()->storepolicy("local");
343   }
344  
345 + sub storeconfigobject {
346 +        my $self=shift;
347 +        my $obj=shift;
348 +        $obj->save($self->config());
349 + }
350 +
351   sub downloadtotop {
352          my $self=shift;
353          my $url=shift;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines