[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [1316] trunk/LedgerSMB/Database.pm
- Subject: SF.net SVN: ledger-smb: [1316] trunk/LedgerSMB/Database.pm
- From: ..hidden..
- Date: Sun, 24 Jun 2007 16:32:43 -0700
Revision: 1316
http://svn.sourceforge.net/ledger-smb/?rev=1316&view=rev
Author: einhverfr
Date: 2007-06-24 16:32:42 -0700 (Sun, 24 Jun 2007)
Log Message:
-----------
Attempting to fix POD issues with new DB module
Modified Paths:
--------------
trunk/LedgerSMB/Database.pm
Modified: trunk/LedgerSMB/Database.pm
===================================================================
--- trunk/LedgerSMB/Database.pm 2007-06-24 22:37:45 UTC (rev 1315)
+++ trunk/LedgerSMB/Database.pm 2007-06-24 23:32:42 UTC (rev 1316)
@@ -1,14 +1,22 @@
#!/usr/bin/perl
=head1 NAMR
- LedgerSMB::Database
+
+LedgerSMB::Database
+
=head1 SYNOPSIS
- This module provides the APIs for database creation and management
+
+This module provides the APIs for database creation and management
+
=head1 COPYRIGHT
- This module is copyright (C) 2007, the LedgerSMB Core Team and subject to
- the GNU General Public License (GPL) version 2, or at your option, any later
- version. See the COPYRIGHT and LICENSE files for more information.
+
+This module is copyright (C) 2007, the LedgerSMB Core Team and subject to
+the GNU General Public License (GPL) version 2, or at your option, any later
+version. See the COPYRIGHT and LICENSE files for more information.
+
=head1 METHODS
+=over
+
=cut
# Methods are documented inline.
@@ -21,18 +29,19 @@
use base('LedgerSMB');
=item LedgerSMB::Database->new({dbname = $dbname, countrycode = $cc, chart_name = $name, company_name = $company, username = $username, password = $password})
- This function creates a new database management object with the specified
- characteristics. The $dbname is the name of the database. the countrycode
- is the two-letter ISO code. The company name is the friendly name for
- dropdown boxes on the Login screen.
- As some countries may have multiple available charts, you can also specify
- a chart name as well.
+This function creates a new database management object with the specified
+characteristics. The $dbname is the name of the database. the countrycode
+is the two-letter ISO code. The company name is the friendly name for
+dropdown boxes on the Login screen.
- Note that the arguments can be any hashref. If it is a LedgerSMB object,
- however, it will attempt to copy all attributes beginning with _ into the
- current object (_user, _locale, etc).
+As some countries may have multiple available charts, you can also specify
+a chart name as well.
+Note that the arguments can be any hashref. If it is a LedgerSMB object,
+however, it will attempt to copy all attributes beginning with _ into the
+current object (_user, _locale, etc).
+
=cut
sub new {
@@ -54,7 +63,9 @@
}
=item $db->create();
- Creates a database with the characteristics in the object
+
+Creates a database with the characteristics in the object
+
=cut
sub create {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.