From 8112047aa0ef879163d40ba613b12976e346ba43 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 13 Mar 2007 05:55:52 +0000 Subject: Documenting LedgerSMB::Setting::parse_incriment() git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@891 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Setting.pm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/LedgerSMB/Setting.pm b/LedgerSMB/Setting.pm index e257d63a..a79b89c9 100644 --- a/LedgerSMB/Setting.pm +++ b/LedgerSMB/Setting.pm @@ -13,8 +13,16 @@ The following method is static: The following methods are passed through to stored procedures: =item get ($self->{key}) + +=item get_default_accounts() (via AUTOLOAD) returns a list of accounts. + =item set ($self->{key}, $self->{value}) -=item get_default_accounts() + +=item parse_incriment ($self->{key}) +This function updates a default entry in the database, incrimenting the last +set of digits not including tags or non-digits, and then parses the +returned value, doing tag substitution. The final value is then returned by +the function. The above list may grow over time, and may depend on other installed modules. @@ -49,7 +57,7 @@ sub get { $self->merge($hashref, 'value'); } -sub parse { +sub parse_incriment { my $self = shift; my $myconfig = shift; -- cgit v1.2.3