Menu

## SeedDMS_Core_TransmittalItem
in package

inc.ClassTransmittal.php : 286

Class to represent a transmittal in the document management system

##### Tags

category

  DMS

author

  Markus Westphal, Malcolm Cowe, Uwe Steinmann uwe@steinmann.cx

copyright

  Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe, 2010 Uwe Steinmann

version

  Release: @package_version@

### 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

inc.ClassTransmittal.php : 299
`public object $_content`

document content

##### Tags

access

  protected

#### $_date

inc.ClassTransmittal.php : 313
`public object $_date`

date of creation

##### Tags

access

  protected

#### $_id

inc.ClassTransmittal.php : 292
`public int $_id`

id of transmittal item

##### Tags

access

  protected

#### $_transmittal

inc.ClassTransmittal.php : 306
`public object $_transmittal`

transmittal

##### Tags

access

  protected

### Methods

#### __construct()

inc.ClassTransmittal.php : 315
`public __construct(mixed $id, mixed $transmittal, mixed $content[, mixed $date = '' ]) : mixed`

##### Parameters

$id : mixed
$transmittal : mixed
$content : mixed
$date : mixed = ''

#### getContent()

inc.ClassTransmittal.php : 355
`public getContent() : mixed`

#### getDate()

inc.ClassTransmittal.php : 357
`public getDate() : mixed`

#### getID()

inc.ClassTransmittal.php : 351
`public getID() : mixed`

#### getInstance()

inc.ClassTransmittal.php : 323
`public static getInstance(mixed $id, mixed $dms) : mixed`

##### Parameters

$id : mixed
$dms : mixed

#### getTransmittal()

inc.ClassTransmittal.php : 353
`public getTransmittal() : mixed`

#### remove()

inc.ClassTransmittal.php : 359
`public remove() : mixed`

#### setDMS()

inc.ClassTransmittal.php : 347
`public setDMS(mixed $dms) : mixed`

##### Parameters

$dms : mixed

#### updateContent()

inc.ClassTransmittal.php : 382

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.

## Search results