[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [891] trunk/LedgerSMB/Setting.pm



Revision: 891
          http://svn.sourceforge.net/ledger-smb/?rev=891&view=rev
Author:   einhverfr
Date:     2007-03-12 22:55:52 -0700 (Mon, 12 Mar 2007)

Log Message:
-----------
Documenting LedgerSMB::Setting::parse_incriment()

Modified Paths:
--------------
    trunk/LedgerSMB/Setting.pm

Modified: trunk/LedgerSMB/Setting.pm
===================================================================
--- trunk/LedgerSMB/Setting.pm	2007-03-13 05:41:18 UTC (rev 890)
+++ trunk/LedgerSMB/Setting.pm	2007-03-13 05:55:52 UTC (rev 891)
@@ -13,9 +13,17 @@
 
 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.
 
 =head1 Copyright (C) 2007, The LedgerSMB core team.
@@ -49,7 +57,7 @@
 	$self->merge($hashref, 'value');
 }
 
-sub parse {
+sub parse_incriment {
 
 	my $self = shift;
 	my $myconfig = shift;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.