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

SF.net SVN: ledger-smb:[3484] trunk/LedgerSMB/DBObject/File.pm



Revision: 3484
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3484&view=rev
Author:   einhverfr
Date:     2011-07-10 11:17:36 +0000 (Sun, 10 Jul 2011)

Log Message:
-----------
Beginning of file management perl modules

Added Paths:
-----------
    trunk/LedgerSMB/DBObject/File.pm

Added: trunk/LedgerSMB/DBObject/File.pm
===================================================================
--- trunk/LedgerSMB/DBObject/File.pm	                        (rev 0)
+++ trunk/LedgerSMB/DBObject/File.pm	2011-07-10 11:17:36 UTC (rev 3484)
@@ -0,0 +1,45 @@
+=pod
+
+=head1 NAME
+
+LedgerSMB::DBOBject::File
+
+=head1 SYNPSIS
+
+This provides routines for managing file attachments.  Subclasses may be used
+to provide functionality for specific types of file attachments.
+
+=head1 METHODS
+
+=open
+
+=cut
+
+
+package LedgerSMB::DBOBject::File;
+use base qw(LedgerSMB::DBObject);
+use Class::Struct;
+
+struct LedgerSMB::DBObject::file_attachement => {
+   content => '$',
+   mime_type_id =>  '$',
+   file_name   =>  '$',
+   description =>  '$',
+   id =>  '$',
+   ref_key =>  '$',
+   file_class =>  '$',
+};
+
+=back
+
+=head1 COPYRIGHT
+
+Copyright (C) 2011 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.
+
+=cut
+
+1;


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