PHP 클래스 Swift_Mime_Headers_UnstructuredHeader, Halite

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

공개 메소드들

메소드 설명
__construct ( string $name, Swift_Mime_HeaderEncoder $encoder, Swift_Mime_Grammar $grammar ) Creates a new SimpleHeader with $name.
getFieldBody ( ) : string Get the value of this header prepared for rendering.
getFieldBodyModel ( ) : string Get the model for the field body.
getFieldType ( ) : integer Get the type of Header that this instance represents.
getValue ( ) : string Get the (unencoded) value of this header.
setFieldBodyModel ( string $model ) Set the model for the field body.
setValue ( string $value ) Set the (unencoded) value of this header.

메소드 상세

__construct() 공개 메소드

Creates a new SimpleHeader with $name.
public __construct ( string $name, Swift_Mime_HeaderEncoder $encoder, Swift_Mime_Grammar $grammar )
$name string
$encoder Swift_Mime_HeaderEncoder
$grammar Swift_Mime_Grammar

getFieldBody() 공개 메소드

Get the value of this header prepared for rendering.
public getFieldBody ( ) : string
리턴 string

getFieldBodyModel() 공개 메소드

This method returns a string.
public getFieldBodyModel ( ) : string
리턴 string

getFieldType() 공개 메소드

Get the type of Header that this instance represents.
public getFieldType ( ) : integer
리턴 integer

getValue() 공개 메소드

Get the (unencoded) value of this header.
public getValue ( ) : string
리턴 string

setFieldBodyModel() 공개 메소드

This method takes a string for the field value.
public setFieldBodyModel ( string $model )
$model string

setValue() 공개 메소드

Set the (unencoded) value of this header.
public setValue ( string $value )
$value string