[ Index ]

MailPress 7.2

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

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/ -> PathHeader.php (summary)

(no description)

File Size: 153 lines (4 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, EmailValidator $emailValidator, Swift_AddressEncoder $addressEncoder = null)   X-Ref
Creates a new PathHeader with the given $name.

param: string $name

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: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1