[ Index ]

MailPress 544

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

title

Body

[close]

/mp-includes/Swiftmailer/classes/Swift/Mime/ -> Attachment.php (summary)

(no description)

File Size: 153 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_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, Swift_Mime_Grammar $grammar, $mimeTypes = array()   X-Ref
Create a new Attachment with $headers, $encoder and $cache.

param: Swift_Mime_HeaderSet      $headers
param: Swift_Mime_ContentEncoder $encoder
param: Swift_KeyCache            $cache
param: Swift_Mime_Grammar        $grammar
param: array                     $mimeTypes optional

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: Swift_Mime_Attachment

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: Swift_Mime_Attachment

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: Swift_Mime_Attachment

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

param: Swift_FileStream $file
param: string           $contentType optional
return: Swift_Mime_Attachment



Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1