\SeedDMS_Core_DocumentLink

Class to represent a link between two document

Document links are to establish a reference from one document to another document. The owner of the document link may not be the same as the owner of one of the documents. Use {@link SeedDMS_Core_Document::addDocumentLink()} to add a reference to another document.

Summary

Methods
Properties
Constants
SeedDMS_Core_DocumentLink()
getID()
getDocument()
getTarget()
getUser()
isPublic()
No public properties found
No constants found
No protected methods found
$_id
$_document
$_target
$_userID
$_public
N/A
No private methods found
No private properties found
N/A

Properties

$_id

$_id : integer

Type

integer — internal id of document link

$_document

$_document : object

Type

object — reference to document this link belongs to

$_target

$_target : object

Type

object — reference to target document this link points to

$_userID

$_userID : integer

Type

integer — id of user who is the owner of this link

$_public

$_public : integer

Type

integer — 1 if this link is public, or 0 if is only visible to the owner

Methods

SeedDMS_Core_DocumentLink()

SeedDMS_Core_DocumentLink( $id,  $document,  $target,  $userID,  $public)

Parameters

$id
$document
$target
$userID
$public

getID()

getID()

getDocument()

getDocument()

getTarget()

getTarget()

getUser()

getUser()

isPublic()

isPublic()