SeedDMS_Core_TransmittalItem
in package
Class to represent a transmittal in the document management system
Tags
Table of Contents
Properties
- $_content : object
- $_date : object
- $_id : int
- $_transmittal : object
Methods
- __construct() : mixed
- getContent() : mixed
- getDate() : mixed
- getID() : mixed
- getInstance() : mixed
- getTransmittal() : mixed
- remove() : mixed
- setDMS() : mixed
- updateContent() : bool
- Check if the content referenzed by the transmittal item is unequal to the latest content of the document.
Properties
$_content
public
object
$_content
document content
Tags
$_date
public
object
$_date
date of creation
Tags
$_id
public
int
$_id
id of transmittal item
Tags
$_transmittal
public
object
$_transmittal
transmittal
Tags
Methods
__construct()
public
__construct(mixed $id, mixed $transmittal, mixed $content[, mixed $date = '' ]) : mixed
Parameters
- $id : mixed
- $transmittal : mixed
- $content : mixed
- $date : mixed = ''
getContent()
public
getContent() : mixed
getDate()
public
getDate() : mixed
getID()
public
getID() : mixed
getInstance()
public
static getInstance(mixed $id, mixed $dms) : mixed
Parameters
- $id : mixed
- $dms : mixed
getTransmittal()
public
getTransmittal() : mixed
remove()
public
remove() : mixed
setDMS()
public
setDMS(mixed $dms) : mixed
Parameters
- $dms : mixed
updateContent()
Check if the content referenzed by the transmittal item is unequal to the latest content of the document.
public
updateContent() : bool
This function updateѕ always to the latest version of the document, even if the version in the item is higher. This can happen if a version has been removed.
Return values
bool —false in case of an error, otherwise the new version.