XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_MimePart Class Reference
Inheritance diagram for Swift_MimePart:
Inheritance graph

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, $charset=null)
 
 charsetChanged ($charset)
 
 getCharset ()
 
 getDelSp ()
 
 getFormat ()
 
 getNestingLevel ()
 
 setBody ($body, $contentType=null, $charset=null)
 
 setCharset ($charset)
 
 setDelSp ($delsp=true)
 
 setFormat ($format)
 
- Public Member Functions inherited from Swift_Mime_SimpleMimeEntity
 __construct (Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache)
 
 __destruct ()
 
 __toString ()
 
 charsetChanged ($charset)
 
 encoderChanged (Swift_Mime_ContentEncoder $encoder)
 
 generateId ()
 
 getBody ()
 
 getBoundary ()
 
 getChildren ()
 
 getContentType ()
 
 getDescription ()
 
 getEncoder ()
 
 getHeaders ()
 
 getId ()
 
 getMaxLineLength ()
 
 getNestingLevel ()
 
 setBody ($body, $contentType=null)
 
 setBoundary ($boundary)
 
 setChildren (array $children, $compoundLevel=null)
 
 setContentType ($type)
 
 setDescription ($description)
 
 setEncoder (Swift_Mime_ContentEncoder $encoder)
 
 setId ($id)
 
 setMaxLineLength ($length)
 
 toByteStream (Swift_InputByteStream $is)
 
 toString ()
 
- 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_ALTERNATIVE = 4096
 
const LEVEL_MIXED = 256
 
const LEVEL_RELATED = 65536
 
const LEVEL_TOP = 16
 
- Protected Member Functions inherited from Swift_Mime_MimePart
 _fixHeaders ()
 
 _setNestingLevel ($level)
 
- Protected Attributes inherited from Swift_Mime_MimePart
 $_userCharset
 
 $_userDelSp
 
 $_userFormat
 

Detailed Description

Definition at line 20 of file MimePart.php.

Constructor & Destructor Documentation

Swift_MimePart::__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 30 of file MimePart.php.

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

Here is the call graph for this function:

Member Function Documentation

static Swift_MimePart::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 59 of file MimePart.php.

Referenced by Swift_Message\addPart().

Here is the caller graph for this function:


The documentation for this class was generated from the following file: