[ Index ]

MailPress 7.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/ -> Attachment.php (summary)

(no description)

File Size: 144 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Mime_Attachment:: (9 methods):
  __construct()
  getNestingLevel()
  getDisposition()
  setDisposition()
  getFilename()
  setFilename()
  getSize()
  setSize()
  setFile()


Class: Swift_Mime_Attachment  - X-Ref

An attachment, in a multipart message.

__construct(Swift_Mime_SimpleHeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, Swift_IdGenerator $idGenerator, $mimeTypes = [])   X-Ref
Create a new Attachment with $headers, $encoder and $cache.

param: array $mimeTypes

getNestingLevel()   X-Ref
Get the nesting level used for this attachment.

Always returns {@link LEVEL_MIXED}.

return: int

getDisposition()   X-Ref
Get the Content-Disposition of this attachment.

By default attachments have a disposition of "attachment".

return: string

setDisposition($disposition)   X-Ref
Set the Content-Disposition of this attachment.

param: string $disposition
return: $this

getFilename()   X-Ref
Get the filename of this attachment when downloaded.

return: string

setFilename($filename)   X-Ref
Set the filename of this attachment.

param: string $filename
return: $this

getSize()   X-Ref
Get the file size of this attachment.

return: int

setSize($size)   X-Ref
Set the file size of this attachment.

param: int $size
return: $this

setFile(Swift_FileStream $file, $contentType = null)   X-Ref
Set the file that this attachment is for.

param: string $contentType optional
return: $this



Generated: Mon Mar 11 18:33:33 2019 Cross-referenced by PHPXref 0.7.1