PHP Класс Swift_Mime_Headers_UnstructuredHeader, Halite

Автор: Chris Corbyn
Наследование: extends Swift_Mime_Headers_AbstractHeader
Показать файл Открыть проект Примеры использования класса

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

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