summaryrefslogtreecommitdiff
path: root/LedgerSMB/Setting.pm
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-17 00:21:22 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-17 00:21:22 +0000
commit0a4abf20866526b5803ab3fbe0e484ad7cda3588 (patch)
tree7195abd46a6bb123184216f1f4fe295f6eda3eba /LedgerSMB/Setting.pm
parenta8b15f586f8f9e40e4941ac4148dca6705ce744c (diff)
POD fixes and POD syntax tests
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1202 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/Setting.pm')
-rw-r--r--LedgerSMB/Setting.pm14
1 files changed, 12 insertions, 2 deletions
diff --git a/LedgerSMB/Setting.pm b/LedgerSMB/Setting.pm
index 282bfd8e..5ce6ca66 100644
--- a/LedgerSMB/Setting.pm
+++ b/LedgerSMB/Setting.pm
@@ -10,9 +10,17 @@ This module creates object instances based on LedgerSMB's in-database ORM.
=head1 METHODS
The following method is static:
+
+=over
+
=item new ($LedgerSMB object);
+=back
+
The following methods are passed through to stored procedures:
+
+=over
+
=item get ($self->{key})
=item get_default_accounts() (via AUTOLOAD) returns a list of accounts.
@@ -20,20 +28,22 @@ The following methods are passed through to stored procedures:
=item set ($self->{key}, $self->{value})
=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.
+=back
+
The above list may grow over time, and may depend on other installed modules.
=head1 Copyright (C) 2007, The LedgerSMB core team.
+
This file is licensed under the Gnu General Public License version 2, or at your
option any later version. A copy of the license should have been included with
your software.
-=back
-
=cut
package LedgerSMB::Setting;