PHP Класс Swift_Mime_ContentEncoder_NativeQpContentEncoder, Halite

Автор: Lars Strojny
Наследование: implements Swift_Mime_ContentEncoder
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
_standardize ( string $string ) : string Make sure CRLF is correct and HT/SPACE are in valid places.

Описание методов

__construct() публичный Метод

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

_standardize() защищенный Метод

Make sure CRLF is correct and HT/SPACE are in valid places.
protected _standardize ( string $string ) : string
$string string
Результат string

charsetChanged() публичный Метод

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

encodeByteStream() публичный Метод

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() публичный Метод

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
Результат string

getName() публичный Метод

Get the MIME name of this content encoding scheme.
public getName ( ) : string
Результат string