Definition at line 40 of file attachment_manager.inc.
◆ AttachmentManager()
AttachmentManager::AttachmentManager |
( |
| ) |
|
◆ deleteAttachment()
static AttachmentManager::deleteAttachment |
( |
|
$attachment, |
|
|
|
$xrefClass = "" |
|
) |
| |
|
static |
Definition at line 47 of file attachment_manager.inc.
57 $file =
"$base/$dir{$attachment->local_filename}";
59 if (file_exists(
$file))
if(! $attachment_id) $attachment
static deleteAttachmentXref($attachment_id, $xrefClass)
◆ deleteAttachmentXref()
static AttachmentManager::deleteAttachmentXref |
( |
|
$attachment_id, |
|
|
|
$xrefClass |
|
) |
| |
|
static |
◆ getAttachmentLink()
static AttachmentManager::getAttachmentLink |
( |
|
$attachment | ) |
|
|
static |
Definition at line 70 of file attachment_manager.inc.
74 $html .=
"<img src=\"$icon\" alt=\"Icon\" style=\"display:inline-block;vertical-align:middle\"/>
75 <a href=\"/action/attachment/download?attachment_id={$attachment->attachment_id}\">{$attachment->filename}</a>
76 ({$attachment->file_size})";
◆ upgradeComponent()
static AttachmentManager::upgradeComponent |
( |
|
$version | ) |
|
|
static |
The documentation for this class was generated from the following file: