Ignore:
Timestamp:
10/28/15 21:30:40 (9 years ago)
Author:
nanardon
Message:

Add a statistics collecting functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Task.pm

    r1206 r1427  
    3535    my ($class, %options) = @_; 
    3636    bless { %options }, $class; 
     37} 
     38 
     39=head2 config($value, $default) 
     40 
     41Return config value for the module 
     42 
     43=cut 
     44 
     45sub config { 
     46    my ($self, $value, $default) = @_; 
     47 
     48    return $self->{syncm}->ini->val($self->{name}, $value, $default) 
    3749} 
    3850 
Note: See TracChangeset for help on using the changeset viewer.