Overview

Packages

  • akismet
  • None
  • PHP
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • plugins
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Signatures
    • Signed
    • Transport
  • wa-apps
    • blog
      • actions
        • backend
        • blog
        • comment
        • cron
        • design
        • frontend
        • page
        • plugin
        • post
      • api
        • v1
      • cli
      • layout
      • model
      • plugin
        • aksimet
        • category
        • emailsubscription
        • favorite
        • gravatar
        • import
        • markdown
        • myposts
        • tag
        • troll
      • settings
    • checklists
      • backend
      • json
    • contacts
      • backend
    • developer
    • dummy
    • guestbook
    • guestbook2
    • photos
      • album
      • api
        • v1
      • backend
      • design
      • dialog
      • frontend
      • page
      • photo
      • plugin
        • comment
        • imageeffects
        • import
        • publicgallery
        • watermark
      • search
      • settings
      • stack
      • tag
      • upload
    • site
      • backend
      • blocks
      • config
      • design
      • domains
      • files
      • frontend
      • helper
      • layout
      • pages
      • routing
      • setting
    • stickies
      • api
        • v1
      • sheet
      • stiky
  • wa-plugin
    • payment
    • shipping
    • sms
  • wa-plugins
    • shipping
      • usps
  • wa-system
    • API
    • Auth
      • Adapters
    • Autoload
    • Cache
      • Adapter
    • Captcha
    • Config
    • Contact
    • controller
    • currency
    • database
    • datetime
    • design
    • event
    • exception
    • files
    • image
    • layout
    • locale
    • log
    • mail
    • page
      • action
      • model
    • payment
    • plugin
    • request
    • response
    • routing
    • shipping
    • sms
    • storage
    • user
    • util
    • validator
    • view
    • webasyst
      • api
      • backend
      • cli
      • config
      • layout
      • login
      • model
      • password
      • payment
      • profile
      • settings
      • shipment
    • widget
    • workflow
  • waPlugins
    • Payment
  • webasyst
    • wa-system
      • helper

Classes

  • Swift_Attachment
  • Swift_EmbeddedFile
  • Swift_Image
  • Swift_Message
  • Swift_Mime_Attachment
  • Swift_Mime_ContentEncoder_Base64ContentEncoder
  • Swift_Mime_ContentEncoder_NativeQpContentEncoder
  • Swift_Mime_ContentEncoder_PlainContentEncoder
  • Swift_Mime_ContentEncoder_QpContentEncoder
  • Swift_Mime_ContentEncoder_QpContentEncoderProxy
  • Swift_Mime_ContentEncoder_RawContentEncoder
  • Swift_Mime_EmbeddedFile
  • Swift_Mime_Grammar
  • Swift_Mime_HeaderEncoder_Base64HeaderEncoder
  • Swift_Mime_HeaderEncoder_QpHeaderEncoder
  • Swift_Mime_Headers_AbstractHeader
  • Swift_Mime_Headers_DateHeader
  • Swift_Mime_Headers_IdentificationHeader
  • Swift_Mime_Headers_MailboxHeader
  • Swift_Mime_Headers_OpenDKIMHeader
  • Swift_Mime_Headers_ParameterizedHeader
  • Swift_Mime_Headers_PathHeader
  • Swift_Mime_Headers_UnstructuredHeader
  • Swift_Mime_MimePart
  • Swift_Mime_SimpleHeaderFactory
  • Swift_Mime_SimpleHeaderSet
  • Swift_Mime_SimpleMessage
  • Swift_Mime_SimpleMimeEntity
  • Swift_MimePart
  • waMailMessage

Interfaces

  • Swift_Mime_CharsetObserver
  • Swift_Mime_ContentEncoder
  • Swift_Mime_EncodingObserver
  • Swift_Mime_Header
  • Swift_Mime_HeaderEncoder
  • Swift_Mime_HeaderFactory
  • Swift_Mime_HeaderSet
  • Swift_Mime_Message
  • Swift_Mime_MimeEntity
  • Swift_Mime_ParameterizedHeader
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class Swift_Mime_MimePart

A MIME part, in a multipart message.

Swift_Mime_SimpleMimeEntity implements Swift_Mime_MimeEntity
Extended by Swift_Mime_MimePart

Direct known subclasses

Swift_Mime_SimpleMessage, Swift_MimePart

Indirect known subclasses

Swift_Message, Swift_SignedMessage, waMailMessage
Package: Swift\Mime
Author: Chris Corbyn
Located at wa-system/vendors/swift/classes/Swift/Mime/MimePart.php
Methods summary
public
# __construct( Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, Swift_Mime_Grammar $grammar, string $charset = null )

Create a new MimePart with $headers, $encoder and $cache.

Create a new MimePart with $headers, $encoder and $cache.

Parameters

$headers
Swift_Mime_HeaderSet
$headers
$encoder
Swift_Mime_ContentEncoder
$encoder
$cache
Swift_KeyCache
$cache
$grammar
Swift_Mime_Grammar
$grammar
$charset
string
$charset

Overrides

Swift_Mime_SimpleMimeEntity::__construct()
public Swift_Mime_MimePart
# setBody( mixed $body, string $contentType = null, string $charset = null )

Set the body of this entity, either as a string, or as an instance of Swift_OutputByteStream.

Set the body of this entity, either as a string, or as an instance of Swift_OutputByteStream.

Parameters

$body
mixed
$body
$contentType
string
$contentType optional
$charset
string
$charset optional

Returns

Swift_Mime_MimePart

Overrides

Swift_Mime_SimpleMimeEntity::setBody()
public string
# getCharset( )

Get the character set of this entity.

Get the character set of this entity.

Returns

string
public Swift_Mime_MimePart
# setCharset( string $charset )

Set the character set of this entity.

Set the character set of this entity.

Parameters

$charset
string
$charset

Returns

Swift_Mime_MimePart
public string
# getFormat( )

Get the format of this entity (i.e. flowed or fixed).

Get the format of this entity (i.e. flowed or fixed).

Returns

string
public Swift_Mime_MimePart
# setFormat( string $format )

Set the format of this entity (flowed or fixed).

Set the format of this entity (flowed or fixed).

Parameters

$format
string
$format

Returns

Swift_Mime_MimePart
public boolean
# getDelSp( )

Test if delsp is being used for this entity.

Test if delsp is being used for this entity.

Returns

boolean
public Swift_Mime_MimePart
# setDelSp( boolean $delsp = true )

Turn delsp on or off for this entity.

Turn delsp on or off for this entity.

Parameters

$delsp
boolean
$delsp

Returns

Swift_Mime_MimePart
public integer
# getNestingLevel( )

Get the nesting level of this entity.

Get the nesting level of this entity.

Returns

integer

See

Swift_Mime_MimeEntity::LEVEL_TOP, Swift_Mime_MimeEntity::LEVEL_ALTERNATIVE, Swift_Mime_MimeEntity::LEVEL_MIXED, Swift_Mime_MimeEntity::LEVEL_RELATED

Overrides

Swift_Mime_SimpleMimeEntity::getNestingLevel()
public
# charsetChanged( string $charset )

Receive notification that the charset has changed on this document, or a parent document.

Receive notification that the charset has changed on this document, or a parent document.

Parameters

$charset
string
$charset

Overrides

Swift_Mime_SimpleMimeEntity::charsetChanged()
protected
# _fixHeaders( )

Fix the content-type and encoding of this entity

Fix the content-type and encoding of this entity

Overrides

Swift_Mime_SimpleMimeEntity::_fixHeaders()
protected
# _setNestingLevel( mixed $level )

Set the nesting level of this entity

Set the nesting level of this entity

protected
# _convertString( mixed $string )

Encode charset when charset is not utf-8

Encode charset when charset is not utf-8

Methods inherited from Swift_Mime_SimpleMimeEntity
__destruct(), __toString(), _bodyToByteStream(), _bodyToString(), _clearCache(), _getCache(), _getGrammar(), _getHeaderFieldModel(), _getHeaderParameter(), _getIdField(), _setHeaderFieldModel(), _setHeaderParameter(), encoderChanged(), generateId(), getBody(), getBoundary(), getChildren(), getContentType(), getDescription(), getEncoder(), getHeaders(), getId(), getMaxLineLength(), getRandomId(), setBoundary(), setChildren(), setContentType(), setDescription(), setEncoder(), setId(), setMaxLineLength(), toByteStream(), toString()
Constants inherited from Swift_Mime_MimeEntity
LEVEL_ALTERNATIVE, LEVEL_MIXED, LEVEL_RELATED, LEVEL_TOP
Properties summary
protected mixed $_userFormat
#

The format parameter last specified by the user

The format parameter last specified by the user

protected mixed $_userCharset
#

The charset last specified by the user

The charset last specified by the user

protected mixed $_userDelSp
#

The delsp parameter last specified by the user

The delsp parameter last specified by the user

private integer $_nestingLevel Swift_Mime_MimeEntity::LEVEL_ALTERNATIVE
#

The nesting level of this MimePart

The nesting level of this MimePart

Properties inherited from Swift_Mime_SimpleMimeEntity
$_userContentType
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0