Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • components
        • events
          • default
      • controllers
      • models
    • components
      • auth
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • exchange
        • rates
          • foxrate
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
      • json
      • modules
      • net
        • http
        • net
          • amazon
            • s3
          • geo
            • ip
      • plugins
      • recaptcha
      • security
      • session
        • cart
      • settingscollection
      • upgrades
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
  • com
    • tecnick
      • tcpdf
        • blesta
          • components
            • invoice
              • templates
                • quickbooks
                  • invoice
                • templates
                  • default
  • Crypt
    • AES
    • DES
    • Hash
    • Random
    • RC4
    • Rijndael
    • RSA
    • TerraDES
  • File
    • ANSI
    • ASN1
    • X509
  • Math
    • BigInteger
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • html
      • xml
    • lib
  • Net
    • SFTP
    • SSH1
    • SSH2
  • None
  • PHP
  • PHPMailer
  • Services
    • JSON
  • 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

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 vendors/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
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_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
mixed
$body
$contentType
string
$contentType optional
$charset
string
$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
string
$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
string
$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
boolean
$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
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(), _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()

Magic methods summary

Constants summary

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
#

The nesting level of this MimePart

The nesting level of this MimePart

Properties inherited from Swift_Mime_SimpleMimeEntity

$_userContentType

Blesta API documentation generated by ApiGen 2.8.0