TYPO3  7.6
Public Member Functions | Static Public Member Functions | List of all members
Swift_MimePart Class Reference
Inheritance diagram for Swift_MimePart:
Swift_Mime_MimePart Swift_Mime_SimpleMimeEntity Swift_Mime_MimeEntity Swift_Mime_CharsetObserver Swift_Mime_EncodingObserver

Public Member Functions

 __construct ($body=null, $contentType=null, $charset=null)
 
- Public Member Functions inherited from Swift_Mime_MimePart
 __construct (Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, Swift_Mime_Grammar $grammar, $charset=null)
 
 setBody ($body, $contentType=null, $charset=null)
 
 getCharset ()
 
 setCharset ($charset)
 
 getFormat ()
 
 setFormat ($format)
 
 getDelSp ()
 
 setDelSp ($delsp=true)
 
 getNestingLevel ()
 
 charsetChanged ($charset)
 
- Public Member Functions inherited from Swift_Mime_SimpleMimeEntity
 __construct (Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, Swift_Mime_Grammar $grammar)
 
 generateId ()
 
 getHeaders ()
 
 getNestingLevel ()
 
 getContentType ()
 
 setContentType ($type)
 
 getId ()
 
 setId ($id)
 
 getDescription ()
 
 setDescription ($description)
 
 getMaxLineLength ()
 
 setMaxLineLength ($length)
 
 getChildren ()
 
 setChildren (array $children, $compoundLevel=null)
 
 getBody ()
 
 setBody ($body, $contentType=null)
 
 getEncoder ()
 
 setEncoder (Swift_Mime_ContentEncoder $encoder)
 
 getBoundary ()
 
 setBoundary ($boundary)
 
 charsetChanged ($charset)
 
 encoderChanged (Swift_Mime_ContentEncoder $encoder)
 
 toString ()
 
 __toString ()
 
 toByteStream (Swift_InputByteStream $is)
 
 __destruct ()
 
 __clone ()
 
- Public Member Functions inherited from Swift_Mime_MimeEntity
 setChildren (array $children)
 

Static Public Member Functions

static newInstance ($body=null, $contentType=null, $charset=null)
 

Additional Inherited Members

- Public Attributes inherited from Swift_Mime_MimeEntity
const LEVEL_TOP = 16
 
const LEVEL_MIXED = 256
 
const LEVEL_ALTERNATIVE = 4096
 
const LEVEL_RELATED = 65536
 
- Protected Member Functions inherited from Swift_Mime_MimePart
 _fixHeaders ()
 
 _setNestingLevel ($level)
 
 _convertString ($string)
 
- Protected Attributes inherited from Swift_Mime_MimePart
 $_userFormat
 
 $_userCharset
 
 $_userDelSp
 

Detailed Description

A MIME part, in a multipart message.

Author
Chris Corbyn

Definition at line 16 of file MimePart.php.

Constructor & Destructor Documentation

__construct (   $body = null,
  $contentType = null,
  $charset = null 
)

Create a new MimePart.

Details may be optionally passed into the constructor.

Parameters
string$body
string$contentType
string$charset

Definition at line 27 of file MimePart.php.

References Swift_DependencyContainer\getInstance(), Swift_Mime_MimePart\setBody(), Swift_Mime_MimePart\setCharset(), and Swift_Mime_SimpleMimeEntity\setContentType().

Member Function Documentation

static newInstance (   $body = null,
  $contentType = null,
  $charset = null 
)
static

Create a new MimePart.

Parameters
string$body
string$contentType
string$charset
Returns
Swift_Mime_MimePart

Definition at line 55 of file MimePart.php.

Referenced by Swift_Message\addPart().