[ Index ]

MailPress 544

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/Swiftmailer/classes/Swift/Mime/ContentEncoder/ -> PlainContentEncoder.php (summary)

(no description)

File Size: 162 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Mime_ContentEncoder_PlainContentEncoder:: (7 methods):
  __construct()
  encodeString()
  encodeByteStream()
  getName()
  charsetChanged()
  _safeWordwrap()
  _canonicalize()


Class: Swift_Mime_ContentEncoder_PlainContentEncoder  - X-Ref

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

__construct($name, $canonical = false)   X-Ref
Creates a new PlainContentEncoder with $name (probably 7bit or 8bit).

param: string $name
param: bool   $canonical If canonicalization transformation should be done.

encodeString($string, $firstLineOffset = 0, $maxLineLength = 0)   X-Ref
Encode a given string to produce an encoded string.

param: string $string
param: int    $firstLineOffset ignored
param: int    $maxLineLength   - 0 means no wrapping will occur
return: string

encodeByteStream(Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset = 0, $maxLineLength = 0)   X-Ref
Encode stream $in to stream $out.

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

getName()   X-Ref
Get the name of this encoding scheme.

return: string

charsetChanged($charset)   X-Ref
Not used.


_safeWordwrap($string, $length = 75, $le = "\r\n")   X-Ref
A safer (but weaker) wordwrap for unicode.

param: string $string
param: int    $length
param: string $le
return: string

_canonicalize($string)   X-Ref
Canonicalize string input (fix CRLF).

param: string $string
return: string



Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1