Menu

## SeedDMS_Core_Storage_File
in package
implements SeedDMS_Core_Storage

inc.ClassStorageFile.php : 24

Class with operations to put documents into the storage

Use the methods to access the document storage

##### Tags

category

  DMS

author

  Uwe Steinmann uwe@steinmann.cx

copyright

  Copyright (C) 2010-2024 Uwe Steinmann

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

inc.ClassStorageFile.php : 26
`protected mixed $basedir`

#### $forcelink

inc.ClassStorageFile.php : 32
`protected mixed $forcelink`

#### $forcerename

inc.ClassStorageFile.php : 30
`protected mixed $forcerename`

#### $maxdirid

inc.ClassStorageFile.php : 28
`protected mixed $maxdirid`

### Methods

#### __construct()

inc.ClassStorageFile.php : 34
`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()

inc.ClassStorageFile.php : 254
`public deleteApproval(mixed $document, mixed $id) : mixed`

##### Parameters

$document : mixed
$id : mixed

#### deleteAttachment()

inc.ClassStorageFile.php : 85
`public deleteAttachment(mixed $document, mixed $attachment) : mixed`

##### Parameters

$document : mixed
$attachment : mixed

#### deleteContent()

inc.ClassStorageFile.php : 166
`public deleteContent(mixed $document, mixed $content) : mixed`

##### Parameters

$document : mixed
$content : mixed

#### deleteContentDir()

inc.ClassStorageFile.php : 48
`public deleteContentDir() : mixed`

#### deleteDocDir()

inc.ClassStorageFile.php : 65
`public deleteDocDir(mixed $document) : mixed`

##### Parameters

$document : mixed

#### deleteReview()

inc.ClassStorageFile.php : 225
`public deleteReview(mixed $document, mixed $id) : mixed`

##### Parameters

$document : mixed
$id : mixed

#### getApproval()

inc.ClassStorageFile.php : 263
`public getApproval(mixed $document, mixed $id) : mixed`

##### Parameters

$document : mixed
$id : mixed

#### getApprovalName()

inc.ClassStorageFile.php : 272
`public getApprovalName(mixed $document, mixed $id) : mixed`

##### Parameters

$document : mixed
$id : mixed

#### getAttachment()

inc.ClassStorageFile.php : 102
`public getAttachment(mixed $document, mixed $attachment) : mixed`

##### Parameters

$document : mixed
$attachment : mixed

#### getAttachmentFilesize()

inc.ClassStorageFile.php : 117
`public getAttachmentFilesize(mixed $document, mixed $attachment) : mixed`

##### Parameters

$document : mixed
$attachment : mixed

#### getAttachmentMimeType()

inc.ClassStorageFile.php : 123
`public getAttachmentMimeType(mixed $document, mixed $attachment) : mixed`

##### Parameters

$document : mixed
$attachment : mixed

#### getAttachmentName()

inc.ClassStorageFile.php : 112
`public getAttachmentName(mixed $document, mixed $attachment) : mixed`

##### Parameters

$document : mixed
$attachment : mixed

#### getContent()

inc.ClassStorageFile.php : 174
`public getContent(mixed $document, mixed $content) : mixed`

##### Parameters

$document : mixed
$content : mixed

#### getContentChecksum()

inc.ClassStorageFile.php : 213
`public getContentChecksum(mixed $document, mixed $content) : mixed`

##### Parameters

$document : mixed
$content : mixed

#### getContentFilesize()

inc.ClassStorageFile.php : 201
`public getContentFilesize(mixed $document, mixed $content) : mixed`

##### Parameters

$document : mixed
$content : mixed

#### getContentMimetype()

inc.ClassStorageFile.php : 207
`public getContentMimetype(mixed $document, mixed $content) : mixed`

##### Parameters

$document : mixed
$content : mixed

#### getContentName()

inc.ClassStorageFile.php : 188
`public getContentName(mixed $document, mixed $content) : mixed`

##### Parameters

$document : mixed
$content : mixed

#### getContentStream()

inc.ClassStorageFile.php : 193
`public getContentStream(mixed $document, mixed $content) : mixed`

##### Parameters

$document : mixed
$content : mixed

#### getReview()

inc.ClassStorageFile.php : 234
`public getReview(mixed $document, mixed $id) : mixed`

##### Parameters

$document : mixed
$id : mixed

#### getReviewName()

inc.ClassStorageFile.php : 243
`public getReviewName(mixed $document, mixed $id) : mixed`

##### Parameters

$document : mixed
$id : mixed

#### hasAttachment()

inc.ClassStorageFile.php : 95
`public hasAttachment(mixed $document, mixed $attachment) : mixed`

##### Parameters

$document : mixed
$attachment : mixed

#### hasContent()

inc.ClassStorageFile.php : 182
`public hasContent(mixed $document, mixed $content) : mixed`

##### Parameters

$document : mixed
$content : mixed

#### info()

inc.ClassStorageFile.php : 44
`public info() : mixed`

#### replaceContent()

inc.ClassStorageFile.php : 158
`public replaceContent(mixed $document, mixed $content, mixed $tmpFile) : mixed`

##### Parameters

$document : mixed
$content : mixed
$tmpFile : mixed

#### saveApproval()

inc.ClassStorageFile.php : 248
`public saveApproval(mixed $document, mixed $id, mixed $tmpFile) : mixed`

##### Parameters

$document : mixed
$id : mixed
$tmpFile : mixed

#### saveAttachment()

inc.ClassStorageFile.php : 73
`public saveAttachment(mixed $document, mixed $attachment, mixed $tmpFile) : mixed`

##### Parameters

$document : mixed
$attachment : mixed
$tmpFile : mixed

#### saveContent()

inc.ClassStorageFile.php : 129
`public saveContent(mixed $document, mixed $content, mixed $tmpFile) : mixed`

##### Parameters

$document : mixed
$content : mixed
$tmpFile : mixed

#### saveReview()

inc.ClassStorageFile.php : 219
`public saveReview(mixed $document, mixed $id, mixed $tmpFile) : mixed`

##### Parameters

$document : mixed
$id : mixed
$tmpFile : mixed

#### setFileType()

inc.ClassStorageFile.php : 146
`public setFileType(mixed $document, mixed $content, mixed $newfiletype) : mixed`

##### Parameters

$document : mixed
$content : mixed
$newfiletype : mixed

#### getDocDir()

inc.ClassStorageFile.php : 56
`protected getDocDir(mixed $document) : mixed`

##### Parameters

$document : mixed

## Search results