Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: Swift_Mime_ContentEncoder_PlainContentEncoder

Source Location: /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/ContentEncoder/PlainContentEncoder.php

Class Overview


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


Author(s):

  • Chris Corbyn

Implements interfaces:

Methods



Class Details

[line 16]
Handles binary/7/8-bit Transfer Encoding in Swift Mailer.



Tags:

author:  Chris Corbyn


[ Top ]


Class Methods


constructor __construct [line 38]

Swift_Mime_ContentEncoder_PlainContentEncoder __construct( string $name, [bool $canonical = false])

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



Tags:

access:  public


Parameters:

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

[ Top ]

method charsetChanged [line 103]

void charsetChanged( $charset)

Not used.



Tags:

access:  public



Implementation of:
Swift_Mime_CharsetObserver::charsetChanged()
Notify this observer that the entity's charset has changed.

Parameters:

   $charset  

[ Top ]

method encodeByteStream [line 70]

void encodeByteStream( Swift_OutputByteStream $os, Swift_InputByteStream $is, [int $firstLineOffset = 0], [int $maxLineLength = 0])

Encode stream $in to stream $out.



Tags:

access:  public



Implementation of:
Swift_Mime_ContentEncoder::encodeByteStream()
Encode $in to $out.

Parameters:

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

[ Top ]

method encodeString [line 53]

string encodeString( string $string, [int $firstLineOffset = 0], [int $maxLineLength = 0])

Encode a given string to produce an encoded string.



Tags:

access:  public



Implementation of:
Swift_Encoder::encodeString()
Encode a given string to produce an encoded string.

Parameters:

string   $string  
int   $firstLineOffset   ignored
int   $maxLineLength  
  • 0 means no wrapping will occur

[ Top ]

method getName [line 95]

string getName( )

Get the name of this encoding scheme.



Tags:

access:  public



Implementation of:
Swift_Mime_ContentEncoder::getName()
Get the MIME name of this content encoding scheme.
[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:53:26 +0000 by phpDocumentor 1.4.3