PHP 클래스 Swift_Mime_ContentEncoder_NativeQpContentEncoder, Halite

저자: Lars Strojny
상속: implements Swift_Mime_ContentEncoder
파일 보기 프로젝트 열기: HaliteChallenge/Halite 1 사용 예제들

공개 메소드들

메소드 설명
__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