PHP Class Swift_Mime_ContentEncoder_NativeQpContentEncoder, Halite

Author: Lars Strojny
Inheritance: implements Swift_Mime_ContentEncoder
Afficher le fichier Open project: HaliteChallenge/Halite Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( null | string $charset = null )
charsetChanged ( string $charset ) Notify this observer that the entity's charset has changed.
encodeByteStream ( Swift_OutputByteStream $os, Swift_InputByteStream $is, integer $firstLineOffset, integer $maxLineLength ) Encode $in to $out.
encodeString ( string $string, integer $firstLineOffset, integer $maxLineLength ) : string Encode a given string to produce an encoded string.
getName ( ) : string Get the MIME name of this content encoding scheme.

Méthodes protégées

Méthode Description
_standardize ( string $string ) : string Make sure CRLF is correct and HT/SPACE are in valid places.

Method Details

__construct() public méthode

public __construct ( null | string $charset = null )
$charset null | string

_standardize() protected méthode

Make sure CRLF is correct and HT/SPACE are in valid places.
protected _standardize ( string $string ) : string
$string string
Résultat string

charsetChanged() public méthode

Notify this observer that the entity's charset has changed.
public charsetChanged ( string $charset )
$charset string

encodeByteStream() public méthode

Encode $in to $out.
public encodeByteStream ( Swift_OutputByteStream $os, Swift_InputByteStream $is, integer $firstLineOffset, integer $maxLineLength )
$os Swift_OutputByteStream to read from
$is Swift_InputByteStream to write to
$firstLineOffset integer
$maxLineLength integer 0 indicates the default length for this encoding

encodeString() public méthode

Encode a given string to produce an encoded string.
public encodeString ( string $string, integer $firstLineOffset, integer $maxLineLength ) : string
$string string
$firstLineOffset integer if first line needs to be shorter
$maxLineLength integer 0 indicates the default length for this encoding
Résultat string

getName() public méthode

Get the MIME name of this content encoding scheme.
public getName ( ) : string
Résultat string