PHP 클래스 Swift_Mime_MimePart, Halite

저자: Chris Corbyn
상속: extends Swift_Mime_SimpleMimeEntity
파일 보기 프로젝트 열기: HaliteChallenge/Halite 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_userCharset The charset last specified by the user
$_userDelSp The delsp parameter last specified by the user
$_userFormat The format parameter last specified by the user

공개 메소드들

메소드 설명
__construct ( Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, Swift_Mime_Grammar $grammar, string $charset = null ) Create a new MimePart with $headers, $encoder and $cache.
charsetChanged ( string $charset ) Receive notification that the charset has changed on this document, or a parent document.
getCharset ( ) : string Get the character set of this entity.
getDelSp ( ) : boolean Test if delsp is being used for this entity.
getFormat ( ) : string Get the format of this entity (i.e. flowed or fixed).
getNestingLevel ( ) : integer Get the nesting level of this entity.
setBody ( mixed $body, string $contentType = null, string $charset = null ) : Swift_Mime_MimePart Set the body of this entity, either as a string, or as an instance of {@link Swift_OutputByteStream}.
setCharset ( string $charset ) : Swift_Mime_MimePart Set the character set of this entity.
setDelSp ( boolean $delsp = true ) : Swift_Mime_MimePart Turn delsp on or off for this entity.
setFormat ( string $format ) : Swift_Mime_MimePart Set the format of this entity (flowed or fixed).

보호된 메소드들

메소드 설명
_convertString ( $string ) Encode charset when charset is not utf-8
_fixHeaders ( ) Fix the content-type and encoding of this entity
_setNestingLevel ( $level ) Set the nesting level of this entity

메소드 상세

__construct() 공개 메소드

Create a new MimePart with $headers, $encoder and $cache.
public __construct ( Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, Swift_Mime_Grammar $grammar, string $charset = null )
$headers Swift_Mime_HeaderSet
$encoder Swift_Mime_ContentEncoder
$cache Swift_KeyCache
$grammar Swift_Mime_Grammar
$charset string

_convertString() 보호된 메소드

Encode charset when charset is not utf-8
protected _convertString ( $string )

_fixHeaders() 보호된 메소드

Fix the content-type and encoding of this entity
protected _fixHeaders ( )

_setNestingLevel() 보호된 메소드

Set the nesting level of this entity
protected _setNestingLevel ( $level )

charsetChanged() 공개 메소드

Receive notification that the charset has changed on this document, or a parent document.
public charsetChanged ( string $charset )
$charset string

getCharset() 공개 메소드

Get the character set of this entity.
public getCharset ( ) : string
리턴 string

getDelSp() 공개 메소드

Test if delsp is being used for this entity.
public getDelSp ( ) : boolean
리턴 boolean

getFormat() 공개 메소드

Get the format of this entity (i.e. flowed or fixed).
public getFormat ( ) : string
리턴 string

getNestingLevel() 공개 메소드

Get the nesting level of this entity.
public getNestingLevel ( ) : integer
리턴 integer

setBody() 공개 메소드

Set the body of this entity, either as a string, or as an instance of {@link Swift_OutputByteStream}.
public setBody ( mixed $body, string $contentType = null, string $charset = null ) : Swift_Mime_MimePart
$body mixed
$contentType string optional
$charset string optional
리턴 Swift_Mime_MimePart

setCharset() 공개 메소드

Set the character set of this entity.
public setCharset ( string $charset ) : Swift_Mime_MimePart
$charset string
리턴 Swift_Mime_MimePart

setDelSp() 공개 메소드

Turn delsp on or off for this entity.
public setDelSp ( boolean $delsp = true ) : Swift_Mime_MimePart
$delsp boolean
리턴 Swift_Mime_MimePart

setFormat() 공개 메소드

Set the format of this entity (flowed or fixed).
public setFormat ( string $format ) : Swift_Mime_MimePart
$format string
리턴 Swift_Mime_MimePart

프로퍼티 상세

$_userCharset 보호되어 있는 프로퍼티

The charset last specified by the user
protected $_userCharset

$_userDelSp 보호되어 있는 프로퍼티

The delsp parameter last specified by the user
protected $_userDelSp

$_userFormat 보호되어 있는 프로퍼티

The format parameter last specified by the user
protected $_userFormat