Swift
[ class tree: Swift ] [ index: Swift ] [ all elements ]

Class: Swift_Mime_Header

Source Location: /vendors/swift/classes/Swift/Mime/Header.php

Interface Overview


A MIME Header.


Author(s):

  • Chris Corbyn

Constants

Methods


Child classes:

Swift_Mime_ParameterizedHeader
A MIME Header with parameters.

Class Details

[line 17]
A MIME Header.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


method getFieldBody [line 77]

string getFieldBody( )

Get the field body, prepared for folding into a final header value.



Tags:

access:  public


[ Top ]

method getFieldBodyModel [line 64]

mixed getFieldBodyModel( )

Get the model for the field body.

The return type depends on the specifics of the Header.




Tags:

access:  public


[ Top ]

method getFieldName [line 71]

string getFieldName( )

Get the name of this header (e.g. Subject).

The name is an identifier and as such will be immutable.




Tags:

access:  public


[ Top ]

method getFieldType [line 44]

int getFieldType( )

Get the type of Header that this instance represents.



Tags:



[ Top ]

method setCharset [line 57]

void setCharset( string $charset)

Set the charset used when rendering the Header.



Tags:

access:  public


Parameters:

string   $charset  

[ Top ]

method setFieldBodyModel [line 51]

void setFieldBodyModel( mixed $model)

Set the model for the field body.

The actual types needed will vary depending upon the type of Header.




Tags:

access:  public


Parameters:

mixed   $model  

[ Top ]

method toString [line 83]

string toString( )

Get this Header rendered as a compliant string.



Tags:

access:  public


[ Top ]


Class Constants

TYPE_DATE =  16

[line 30]

Date and time headers


[ Top ]

TYPE_ID =  32

[line 33]

Identification headers


[ Top ]

TYPE_MAILBOX =  8

[line 27]

Mailbox and address headers


[ Top ]

TYPE_PARAMETERIZED =  6

[line 24]

Parameterized headers (text + params)


[ Top ]

TYPE_PATH =  64

[line 36]

Address path headers


[ Top ]

TYPE_TEXT =  2

[line 21]

Text headers


[ Top ]



Documentation generated on Mon, 05 Sep 2011 20:33:26 -0500 by phpDocumentor 1.4.3