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

Interface Swift_Mime_MimeEntity

A MIME entity, such as an attachment.

Swift_Mime_MimeEntity implements Swift_Mime_CharsetObserver, Swift_Mime_EncodingObserver

Direct known implementers

Swift_Mime_Message, Swift_Mime_SimpleMimeEntity

Indirect known implementers

Swift_Attachment, Swift_EmbeddedFile, Swift_Image, Swift_Message, Swift_Mime_Attachment, Swift_Mime_EmbeddedFile, Swift_Mime_MimePart, Swift_Mime_SimpleMessage, Swift_MimePart

Package: Swift\Mime
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/MimeEntity.php

Methods summary

public integer
# getNestingLevel( )

Get the level at which this entity shall be nested in final document. The lower the value, the more outermost the entity will be nested.

Get the level at which this entity shall be nested in final document. The lower the value, the more outermost the entity will be nested.

Returns

integer

See

Swift_Mime_MimeEntity::LEVEL_TOP, Swift_Mime_MimeEntity::LEVEL_MIXED, Swift_Mime_MimeEntity::LEVEL_RELATED, Swift_Mime_MimeEntity::LEVEL_ALTERNATIVE
public string
# getContentType( )

Get the qualified content-type of this mime entity.

Get the qualified content-type of this mime entity.

Returns

string
public string
# getId( )

Returns a unique ID for this entity. For most entities this will likely be the Content-ID, though it has no explicit semantic meaning and can be considered an identifier for programming logic purposes. If a Content-ID header is present, this value SHOULD match the value of the header.

Returns a unique ID for this entity. For most entities this will likely be the Content-ID, though it has no explicit semantic meaning and can be considered an identifier for programming logic purposes. If a Content-ID header is present, this value SHOULD match the value of the header.

Returns

string
public Swift_Mime_MimeEntity[]
# getChildren( )

Get all children nested inside this entity. These are not just the immediate children, but all children.

Get all children nested inside this entity. These are not just the immediate children, but all children.

Returns

Swift_Mime_MimeEntity[]
public
# setChildren( array $children )

Set all children nested inside this entity. This includes grandchildren.

Set all children nested inside this entity. This includes grandchildren.

Parameters

$children
Swift_Mime_MimeEntity[]
$children
public Swift_Mime_Header[]
# getHeaders( )

Get the collection of Headers in this Mime entity.

Get the collection of Headers in this Mime entity.

Returns

Swift_Mime_Header[]
public string
# getBody( )

Get the body content of this entity as a string. Returns NULL if no body has been set.

Get the body content of this entity as a string. Returns NULL if no body has been set.

Returns

string
public
# setBody( string $body, string $contentType = null )

Set the body content of this entity as a string.

Set the body content of this entity as a string.

Parameters

$body
string
$body
$contentType
string
$contentType optional
public string
# toString( )

Get this entire entity in its string form.

Get this entire entity in its string form.

Returns

string
public
# toByteStream( Swift_InputByteStream $is )

Get this entire entity as a ByteStream.

Get this entire entity as a ByteStream.

Parameters

$is
Swift_InputByteStream
$is to write to

Methods inherited from Swift_Mime_CharsetObserver

charsetChanged()

Methods inherited from Swift_Mime_EncodingObserver

encoderChanged()

Magic methods summary

Constants summary

integer LEVEL_TOP 16
#

Main message document; there can only be one of these

Main message document; there can only be one of these

integer LEVEL_MIXED 256
#

An entity which nests with the same precedence as an attachment

An entity which nests with the same precedence as an attachment

integer LEVEL_ALTERNATIVE 4096
#

An entity which nests with the same precedence as a mime part

An entity which nests with the same precedence as a mime part

integer LEVEL_RELATED 65536
#

An entity which nests with the same precedence as embedded content

An entity which nests with the same precedence as embedded content

Blesta API documentation generated by ApiGen 2.8.0