2011-02-18 07:12:09 +00:00
|
|
|
<?php
|
2012-05-08 08:00:38 +00:00
|
|
|
/**
|
|
|
|
* Implementation of a document in the document management system
|
|
|
|
*
|
|
|
|
* @category DMS
|
2013-02-14 11:10:53 +00:00
|
|
|
* @package SeedDMS_Core
|
2012-05-08 08:00:38 +00:00
|
|
|
* @license GPL2
|
|
|
|
* @author Markus Westphal, Malcolm Cowe, Matteo Lucarelli,
|
|
|
|
* Uwe Steinmann <uwe@steinmann.cx>
|
|
|
|
* @copyright Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe,
|
|
|
|
* 2010 Matteo Lucarelli, 2010-2012 Uwe Steinmann
|
|
|
|
* @version Release: @package_version@
|
|
|
|
*/
|
2011-02-18 07:12:09 +00:00
|
|
|
|
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_DatabaseAccess
|
2011-02-18 07:12:09 +00:00
|
|
|
*/
|
2013-01-24 08:07:08 +00:00
|
|
|
define('USE_PDO', 1);
|
2012-05-08 08:00:38 +00:00
|
|
|
if(defined('USE_PDO'))
|
|
|
|
require_once('Core/inc.DBAccessPDO.php');
|
|
|
|
else
|
|
|
|
require_once('Core/inc.DBAccess.php');
|
2011-02-18 07:12:09 +00:00
|
|
|
|
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_DMS
|
2011-02-18 07:12:09 +00:00
|
|
|
*/
|
2011-02-18 16:18:58 +00:00
|
|
|
require_once('Core/inc.ClassDMS.php');
|
2011-02-18 07:12:09 +00:00
|
|
|
|
2019-08-08 06:41:12 +00:00
|
|
|
/**
|
|
|
|
* @uses SeedDMS_Decorator
|
|
|
|
*/
|
|
|
|
require_once('Core/inc.ClassDecorator.php');
|
|
|
|
|
2012-10-09 09:54:46 +00:00
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_Object
|
2012-10-09 09:54:46 +00:00
|
|
|
*/
|
|
|
|
require_once('Core/inc.ClassObject.php');
|
|
|
|
|
2011-02-18 07:12:09 +00:00
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_Folder
|
2011-02-18 07:12:09 +00:00
|
|
|
*/
|
2011-02-18 16:18:58 +00:00
|
|
|
require_once('Core/inc.ClassFolder.php');
|
2011-02-18 07:12:09 +00:00
|
|
|
|
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_Document
|
2011-02-18 07:12:09 +00:00
|
|
|
*/
|
2011-02-18 16:18:58 +00:00
|
|
|
require_once('Core/inc.ClassDocument.php');
|
2011-02-18 07:12:09 +00:00
|
|
|
|
2012-10-09 09:54:46 +00:00
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_Attribute
|
2012-10-09 09:54:46 +00:00
|
|
|
*/
|
|
|
|
require_once('Core/inc.ClassAttribute.php');
|
|
|
|
|
2011-02-18 07:12:09 +00:00
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_Group
|
2011-02-18 07:12:09 +00:00
|
|
|
*/
|
2011-02-18 16:18:58 +00:00
|
|
|
require_once('Core/inc.ClassGroup.php');
|
2011-02-18 07:12:09 +00:00
|
|
|
|
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_User
|
2011-02-18 07:12:09 +00:00
|
|
|
*/
|
2011-02-18 16:18:58 +00:00
|
|
|
require_once('Core/inc.ClassUser.php');
|
2011-02-18 07:12:09 +00:00
|
|
|
|
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_KeywordCategory
|
2011-02-18 07:12:09 +00:00
|
|
|
*/
|
2011-02-18 16:18:58 +00:00
|
|
|
require_once('Core/inc.ClassKeywords.php');
|
2011-02-18 07:12:09 +00:00
|
|
|
|
2011-03-10 14:26:30 +00:00
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_DocumentCategory
|
2011-03-10 14:26:30 +00:00
|
|
|
*/
|
|
|
|
require_once('Core/inc.ClassDocumentCategory.php');
|
|
|
|
|
2011-02-18 07:12:09 +00:00
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_Notification
|
2011-02-18 07:12:09 +00:00
|
|
|
*/
|
2011-02-18 16:18:58 +00:00
|
|
|
require_once('Core/inc.ClassNotification.php');
|
2011-02-18 07:12:09 +00:00
|
|
|
|
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_UserAccess
|
|
|
|
* @uses SeedDMS_GroupAccess
|
2011-02-18 07:12:09 +00:00
|
|
|
*/
|
2011-02-18 16:18:58 +00:00
|
|
|
require_once('Core/inc.ClassAccess.php');
|
2011-02-18 07:12:09 +00:00
|
|
|
|
2013-01-24 08:07:08 +00:00
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_Workflow
|
2013-01-24 08:07:08 +00:00
|
|
|
*/
|
|
|
|
require_once('Core/inc.ClassWorkflow.php');
|
|
|
|
|
2011-02-18 07:12:09 +00:00
|
|
|
/**
|
|
|
|
*/
|
2011-02-18 16:18:58 +00:00
|
|
|
require_once('Core/inc.AccessUtils.php');
|
2011-02-18 07:12:09 +00:00
|
|
|
|
|
|
|
/**
|
2013-02-14 11:10:53 +00:00
|
|
|
* @uses SeedDMS_File
|
2011-02-18 07:12:09 +00:00
|
|
|
*/
|
2011-02-18 16:18:58 +00:00
|
|
|
require_once('Core/inc.FileUtils.php');
|
2020-02-06 10:34:42 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @uses SeedDMS_File
|
|
|
|
*/
|
|
|
|
require_once('Core/inc.ClassIterator.php');
|