diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-03-13 05:55:52 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-03-13 05:55:52 +0000 |
commit | 8112047aa0ef879163d40ba613b12976e346ba43 (patch) | |
tree | dc727942840996da1b92ed6c12180f56fdd1c732 | |
parent | ab7cede7f91f48f553a86f500d2bcb7408fbb84a (diff) |
Documenting LedgerSMB::Setting::parse_incriment()
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@891 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | LedgerSMB/Setting.pm | 12 |
1 files 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 <?lsmb ?> 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; |