SeedDMS_Core_Storage_File
in package
implements
SeedDMS_Core_Storage
Class with operations to put documents into the storage
Use the methods to access the document storage
Tags
Table of Contents
Interfaces
- SeedDMS_Core_Storage
- Class with operations to put documents into the storage
Properties
- $basedir : mixed
- $forcelink : mixed
- $forcerename : mixed
- $maxdirid : mixed
Methods
- __construct() : mixed
- deleteApproval() : mixed
- deleteAttachment() : mixed
- deleteContent() : mixed
- deleteContentDir() : mixed
- deleteDocDir() : mixed
- deleteReview() : mixed
- getApproval() : mixed
- getApprovalName() : mixed
- getAttachment() : mixed
- getAttachmentFilesize() : mixed
- getAttachmentMimeType() : mixed
- getAttachmentName() : mixed
- getContent() : mixed
- getContentChecksum() : mixed
- getContentFilesize() : mixed
- getContentMimetype() : mixed
- getContentName() : mixed
- getContentStream() : mixed
- getReview() : mixed
- getReviewName() : mixed
- hasAttachment() : mixed
- hasContent() : mixed
- info() : mixed
- replaceContent() : mixed
- saveApproval() : mixed
- saveAttachment() : mixed
- saveContent() : mixed
- saveReview() : mixed
- setFileType() : mixed
- getDocDir() : mixed
Properties
$basedir
protected
mixed
$basedir
$forcelink
protected
mixed
$forcelink
$forcerename
protected
mixed
$forcerename
$maxdirid
protected
mixed
$maxdirid
Methods
__construct()
public
__construct(mixed $basedir[, mixed $maxdirid = 0 ][, mixed $forcerename = false ][, mixed $forcelink = false ]) : mixed
Parameters
- $basedir : mixed
- $maxdirid : mixed = 0
- $forcerename : mixed = false
- $forcelink : mixed = false
deleteApproval()
public
deleteApproval(mixed $document, mixed $id) : mixed
Parameters
- $document : mixed
- $id : mixed
deleteAttachment()
public
deleteAttachment(mixed $document, mixed $attachment) : mixed
Parameters
- $document : mixed
- $attachment : mixed
deleteContent()
public
deleteContent(mixed $document, mixed $content) : mixed
Parameters
- $document : mixed
- $content : mixed
deleteContentDir()
public
deleteContentDir() : mixed
deleteDocDir()
public
deleteDocDir(mixed $document) : mixed
Parameters
- $document : mixed
deleteReview()
public
deleteReview(mixed $document, mixed $id) : mixed
Parameters
- $document : mixed
- $id : mixed
getApproval()
public
getApproval(mixed $document, mixed $id) : mixed
Parameters
- $document : mixed
- $id : mixed
getApprovalName()
public
getApprovalName(mixed $document, mixed $id) : mixed
Parameters
- $document : mixed
- $id : mixed
getAttachment()
public
getAttachment(mixed $document, mixed $attachment) : mixed
Parameters
- $document : mixed
- $attachment : mixed
getAttachmentFilesize()
public
getAttachmentFilesize(mixed $document, mixed $attachment) : mixed
Parameters
- $document : mixed
- $attachment : mixed
getAttachmentMimeType()
public
getAttachmentMimeType(mixed $document, mixed $attachment) : mixed
Parameters
- $document : mixed
- $attachment : mixed
getAttachmentName()
public
getAttachmentName(mixed $document, mixed $attachment) : mixed
Parameters
- $document : mixed
- $attachment : mixed
getContent()
public
getContent(mixed $document, mixed $content) : mixed
Parameters
- $document : mixed
- $content : mixed
getContentChecksum()
public
getContentChecksum(mixed $document, mixed $content) : mixed
Parameters
- $document : mixed
- $content : mixed
getContentFilesize()
public
getContentFilesize(mixed $document, mixed $content) : mixed
Parameters
- $document : mixed
- $content : mixed
getContentMimetype()
public
getContentMimetype(mixed $document, mixed $content) : mixed
Parameters
- $document : mixed
- $content : mixed
getContentName()
public
getContentName(mixed $document, mixed $content) : mixed
Parameters
- $document : mixed
- $content : mixed
getContentStream()
public
getContentStream(mixed $document, mixed $content) : mixed
Parameters
- $document : mixed
- $content : mixed
getReview()
public
getReview(mixed $document, mixed $id) : mixed
Parameters
- $document : mixed
- $id : mixed
getReviewName()
public
getReviewName(mixed $document, mixed $id) : mixed
Parameters
- $document : mixed
- $id : mixed
hasAttachment()
public
hasAttachment(mixed $document, mixed $attachment) : mixed
Parameters
- $document : mixed
- $attachment : mixed
hasContent()
public
hasContent(mixed $document, mixed $content) : mixed
Parameters
- $document : mixed
- $content : mixed
info()
public
info() : mixed
replaceContent()
public
replaceContent(mixed $document, mixed $content, mixed $tmpFile) : mixed
Parameters
- $document : mixed
- $content : mixed
- $tmpFile : mixed
saveApproval()
public
saveApproval(mixed $document, mixed $id, mixed $tmpFile) : mixed
Parameters
- $document : mixed
- $id : mixed
- $tmpFile : mixed
saveAttachment()
public
saveAttachment(mixed $document, mixed $attachment, mixed $tmpFile) : mixed
Parameters
- $document : mixed
- $attachment : mixed
- $tmpFile : mixed
saveContent()
public
saveContent(mixed $document, mixed $content, mixed $tmpFile) : mixed
Parameters
- $document : mixed
- $content : mixed
- $tmpFile : mixed
saveReview()
public
saveReview(mixed $document, mixed $id, mixed $tmpFile) : mixed
Parameters
- $document : mixed
- $id : mixed
- $tmpFile : mixed
setFileType()
public
setFileType(mixed $document, mixed $content, mixed $newfiletype) : mixed
Parameters
- $document : mixed
- $content : mixed
- $newfiletype : mixed
getDocDir()
protected
getDocDir(mixed $document) : mixed
Parameters
- $document : mixed