You are here

public function MailhandlerAttachmentEnclosure::getContent in Mailhandler 6.2

Same name and namespace in other branches
  1. 7.2 plugins/mailhandler/commands/MailhandlerCommandsFiles.class.php \MailhandlerAttachmentEnclosure::getContent()

Get the file content.

Return value

string The file content.

Overrides FeedsEnclosure::getContent

1 call to MailhandlerAttachmentEnclosure::getContent()
MailhandlerAttachmentEnclosure::getFile in plugins/mailhandler/commands/MailhandlerCommandsFiles.class.php
Save the attachment data the same way as the parent class for remote files.

File

plugins/mailhandler/commands/MailhandlerCommandsFiles.class.php, line 95
MailhandlerCommandsFiles class.

Class

MailhandlerAttachmentEnclosure
Attachment enclosure, can be part of the result array.

Code

public function getContent() {
  return $this->data;
}