mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 05:01:43 +00:00
declare variables in SeedDMS_Core_DocumentContent
This commit is contained in:
parent
a6af3cf0cd
commit
d11887311c
|
@ -2653,6 +2653,70 @@ class SeedDMS_Core_Document extends SeedDMS_Core_Object { /* {{{ */
|
||||||
* @version Release: @package_version@
|
* @version Release: @package_version@
|
||||||
*/
|
*/
|
||||||
class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
||||||
|
/**
|
||||||
|
* @var object document
|
||||||
|
*/
|
||||||
|
protected $_document;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var integer version
|
||||||
|
*/
|
||||||
|
protected $_version;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string comment
|
||||||
|
*/
|
||||||
|
protected $_comment;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string date
|
||||||
|
*/
|
||||||
|
protected $_date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var integer userID
|
||||||
|
*/
|
||||||
|
protected $_userID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string dir on disk (deprecated)
|
||||||
|
*/
|
||||||
|
protected $_dir;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string original file name
|
||||||
|
*/
|
||||||
|
protected $_orgFileName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string file type (actually the extension without the leading dot)
|
||||||
|
*/
|
||||||
|
protected $_fileType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string mime type
|
||||||
|
*/
|
||||||
|
protected $_mimeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string checksum of content
|
||||||
|
*/
|
||||||
|
protected $_checksum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var object workflow
|
||||||
|
*/
|
||||||
|
protected $_workflow;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var object workflow state
|
||||||
|
*/
|
||||||
|
protected $_workflowState;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var object dms
|
||||||
|
*/
|
||||||
|
public $_dms;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Recalculate the status of a document
|
* Recalculate the status of a document
|
||||||
|
@ -2745,7 +2809,10 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
||||||
function getOriginalFileName() { return $this->_orgFileName; }
|
function getOriginalFileName() { return $this->_orgFileName; }
|
||||||
function getFileType() { return $this->_fileType; }
|
function getFileType() { return $this->_fileType; }
|
||||||
function getFileName(){ return $this->_version . $this->_fileType; }
|
function getFileName(){ return $this->_version . $this->_fileType; }
|
||||||
function getDir() { return $this->_dir; }
|
/**
|
||||||
|
* getDir and the corresponding database table field are deprecated
|
||||||
|
*/
|
||||||
|
function __getDir() { return $this->_dir; }
|
||||||
function getMimeType() { return $this->_mimeType; }
|
function getMimeType() { return $this->_mimeType; }
|
||||||
function getDocument() { return $this->_document; }
|
function getDocument() { return $this->_document; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user