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_ContentEncoder_PlainContentEncoder

Handles binary/7/8-bit Transfer Encoding in Swift Mailer.

Swift_Mime_ContentEncoder_PlainContentEncoder implements Swift_Mime_ContentEncoder
Package: Swift\Mime
Author: Chris Corbyn
Located at wa-system/vendors/swift/classes/Swift/Mime/ContentEncoder/PlainContentEncoder.php
Methods summary
public
# __construct( string $name, boolean $canonical = false )

Creates a new PlainContentEncoder with $name (probably 7bit or 8bit).

Creates a new PlainContentEncoder with $name (probably 7bit or 8bit).

Parameters

$name
string
$name
$canonical
boolean
$canonical If canonicalization transformation should be done.
public string
# encodeString( string $string, integer $firstLineOffset = 0, integer $maxLineLength = 0 )

Encode a given string to produce an encoded string.

Encode a given string to produce an encoded string.

Parameters

$string
string
$string
$firstLineOffset
integer
$firstLineOffset ignored
$maxLineLength
integer
$maxLineLength - 0 means no wrapping will occur

Returns

string

Implementation of

Swift_Encoder::encodeString()
public
# encodeByteStream( Swift_OutputByteStream $os, Swift_InputByteStream $is, integer $firstLineOffset = 0, integer $maxLineLength = 0 )

Encode stream $in to stream $out.

Encode stream $in to stream $out.

Parameters

$os
Swift_OutputByteStream
$os
$is
Swift_InputByteStream
$is
$firstLineOffset
integer
$firstLineOffset ignored
$maxLineLength
integer
$maxLineLength optional, 0 means no wrapping will occur

Implementation of

Swift_Mime_ContentEncoder::encodeByteStream()
public string
# getName( )

Get the name of this encoding scheme.

Get the name of this encoding scheme.

Returns

string

Implementation of

Swift_Mime_ContentEncoder::getName()
public
# charsetChanged( string $charset )

Not used.

Not used.

Parameters

$charset
string
$charset

Implementation of

Swift_Mime_CharsetObserver::charsetChanged()
private string
# _safeWordwrap( string $string, integer $length = 75, string $le = "\r\n" )

A safer (but weaker) wordwrap for unicode.

A safer (but weaker) wordwrap for unicode.

Parameters

$string
string
$string
$length
integer
$length
$le
string
$le

Returns

string
private string
# _canonicalize( string $string )

Canonicalize string input (fix CRLF).

Canonicalize string input (fix CRLF).

Parameters

$string
string
$string

Returns

string
Properties summary
private string $_name
#

The name of this encoding scheme (probably 7bit or 8bit).

The name of this encoding scheme (probably 7bit or 8bit).

private boolean $_canonical
#

True if canonical transformations should be done.

True if canonical transformations should be done.

My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0