[ Index ]

MailPress 544

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

title

Body

[close]

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

(no description)

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

Defines 1 class

Swift_Mime_Headers_PathHeader:: (8 methods):
  __construct()
  getFieldType()
  setFieldBodyModel()
  getFieldBodyModel()
  setAddress()
  getAddress()
  getFieldBody()
  _assertValidAddress()


Class: Swift_Mime_Headers_PathHeader  - X-Ref

A Path Header in Swift Mailer, such a Return-Path.

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

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 for an address.

param: string $model

getFieldBodyModel()   X-Ref
Get the model for the field body.
This method returns a string email address.

return: mixed

setAddress($address)   X-Ref
Set the Address which should appear in this Header.

param: string $address

getAddress()   X-Ref
Get the address which is used in this Header (if any).

Null is returned if no address is set.

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 {@link toString()} for that).

return: string

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

param: string $address



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