[ Index ]

MailPress 7.1

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

title

Body

[close]

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

(no description)

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

Defines 1 class

Swift_Mime_Headers_DateHeader:: (7 methods):
  __construct()
  getFieldType()
  setFieldBodyModel()
  getFieldBodyModel()
  getDateTime()
  setDateTime()
  getFieldBody()


Class: Swift_Mime_Headers_DateHeader  - X-Ref

A Date MIME Header for Swift Mailer.

__construct($name)   X-Ref
Creates a new DateHeader with $name.

param: string $name of Header

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.

param: DateTimeInterface $model

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

return: DateTimeImmutable

getDateTime()   X-Ref
Get the date-time representing the Date in this Header.

return: DateTimeImmutable

setDateTime(DateTimeInterface $dateTime)   X-Ref
Set the date-time of the Date in this Header.

If a DateTime instance is provided, it is converted to DateTimeImmutable.

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



Generated: Mon Mar 11 18:33:33 2019 Cross-referenced by PHPXref 0.7.1