[ Index ]

MailPress 544

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/mp-includes/Swiftmailer/classes/Swift/Mime/Headers/ -> IdentificationHeader.php (summary)

(no description)

File Size: 180 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Mime_Headers_IdentificationHeader:: (10 methods):

Class: Swift_Mime_Headers_IdentificationHeader  - X-Ref

An ID MIME Header for something like Message-ID or Content-ID.

__construct($name, Swift_Mime_Grammar $grammar)   X-Ref
Creates a new IdentificationHeader with the given $name and $id.

param: string             $name
param: Swift_Mime_Grammar $grammar

getFieldType()   X-Ref
Get the type of Header that this instance represents.

return: int

setFieldBodyModel($model)   X-Ref
Set the model for the field body.

This method takes a string ID, or an array of IDs.

param: mixed $model

getFieldBodyModel()   X-Ref
Get the model for the field body.

This method returns an array of IDs

return: array

setId($id)   X-Ref
Set the ID used in the value of this header.

param: string|array $id

getId()   X-Ref
Get the ID used in the value of this Header.

If multiple IDs are set only the first is returned.

return: string

setIds(array $ids)   X-Ref
Set a collection of IDs to use in the value of this Header.

param: string[] $ids

getIds()   X-Ref
Get the list of IDs used in this Header.

return: string[]

getFieldBody()   X-Ref
Get the string value of the body in this Header.

This is not necessarily RFC 2822 compliant since folding white space will
not be added at this stage (see {@see toString()} for that).

return: string

_assertValidId($id)   X-Ref
Throws an Exception if the id passed does not comply with RFC 2822.

param: string $id

Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1