Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

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_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_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

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
  • Todo
  • Download

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
Package: Swift\Mime
Author: Chris Corbyn
Located at classes/swiftmailer/lib/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
$encoder
$cache
$grammar
$charset

Overrides

Swift_Mime_SimpleMimeEntity::__construct()
public Swift_Mime_SimpleMimeEntity
# 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
$contentType
optional
$charset
optional

Returns

Swift_Mime_SimpleMimeEntity

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
# setCharset( string $charset )

Set the character set of this entity.

Set the character set of this entity.

Parameters

$charset
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
# setFormat( string $format )

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

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

Parameters

$format
public boolean
# getDelSp( )

Test if delsp is being used for this entity.

Test if delsp is being used for this entity.

Returns

boolean
public
# setDelSp( boolean $delsp = true )

Turn delsp on or off for this entity.

Turn delsp on or off for this entity.

Parameters

$delsp
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

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( $level )

Set the nesting level of this entity

Set the nesting level of this entity

protected
# _convertString( $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(), _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 $_userFormat

The format parameter last specified by the user

The format parameter last specified by the user

#
protected $_userCharset

The charset last specified by the user

The charset last specified by the user

#
protected $_userDelSp

The delsp parameter last specified by the user

The delsp parameter last specified by the user

#
private integer $_nestingLevel

The nesting level of this MimePart

The nesting level of this MimePart

# Swift_Mime_MimeEntity::LEVEL_ALTERNATIVE
Properties inherited from Swift_Mime_SimpleMimeEntity
$_userContentType
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen