TYPO3  7.6
Public Member Functions | List of all members
Swift_Encoder Interface Reference
Inheritance diagram for Swift_Encoder:
Swift_Mime_CharsetObserver Swift_Encoder_Base64Encoder Swift_Encoder_QpEncoder Swift_Encoder_Rfc2231Encoder Swift_Mime_ContentEncoder Swift_Mime_HeaderEncoder Swift_Mime_ContentEncoder_Base64ContentEncoder Swift_Mime_HeaderEncoder_Base64HeaderEncoder Swift_Mime_ContentEncoder_QpContentEncoder Swift_Mime_HeaderEncoder_QpHeaderEncoder 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_HeaderEncoder_Base64HeaderEncoder Swift_Mime_HeaderEncoder_QpHeaderEncoder

Public Member Functions

 encodeString ($string, $firstLineOffset=0, $maxLineLength=0)
 
- Public Member Functions inherited from Swift_Mime_CharsetObserver
 charsetChanged ($charset)
 

Detailed Description

Interface for all Encoder schemes.

Author
Chris Corbyn

Definition at line 16 of file Encoder.php.

Member Function Documentation

encodeString (   $string,
  $firstLineOffset = 0,
  $maxLineLength = 0 
)

Encode a given string to produce an encoded string.

Parameters
string$string
int$firstLineOffsetif first line needs to be shorter
int$maxLineLength- 0 indicates the default length for this encoding
Returns
string

Implemented in Swift_Encoder_QpEncoder, Swift_Mime_ContentEncoder_NativeQpContentEncoder, Swift_Mime_ContentEncoder_QpContentEncoderProxy, Swift_Mime_HeaderEncoder_QpHeaderEncoder, Swift_Mime_ContentEncoder_PlainContentEncoder, Swift_Encoder_Rfc2231Encoder, Swift_Encoder_Base64Encoder, and Swift_Mime_ContentEncoder_RawContentEncoder.