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 |
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; |