Provides common Message helper routines for Message manipulation.
- author Zaahid Bateson
Methods |
public copyContentHeadersAndContent(ZBateson Copies Content-* headers from the $from header into the $to header. If An exception is made for the obsolete Content-Return header, which isn't
|
public copyHeader(ZBateson Copies the passed $header from $from, to $to or sets the header to
|
public createNewContentPartFrom(ZBateson Creates a new content part from the passed part, allowing the part to be
|
public movePartContentAndChildren(ZBateson Copies type headers (Content-Type, Content-Disposition, |
public removeContentHeadersAndContent(ZBateson Removes Content-* headers from the passed part, then detaches its content An exception is made for the obsolete Content-Return header, which isn't |
public replacePart(ZBateson Replaces the $part IMimePart with $replacement. Essentially removes $part from its parent, and adds $replacement in its |
Properties |
Properties |
private static $nonMimeContentFields = ['contentreturn', 'contentidentifier']
|
Methods |
private isMimeContentField(ZBateson Returns true if the passed header's name is a Content-* header other than |
Properties |
private static $nonMimeContentFields = ['contentreturn', 'contentidentifier']
|