BodyStructure
https://tools.ietf.org/html/rfc3501#section-7.4.2
multipart: - parts array - subtype + params array + disposition array + language + location
basic: - type - subtype - params array - content id - description - encoding - size + body MD5 + disposition array + language + location
text: - type - subtype - params array - content id - description - encoding - size - size in text lines + body MD5 + disposition array + language + location
message/rfc822: - type - subtype - params array - content id - description - encoding - size - envelope structure - body structure - size in text lines + body MD5 + disposition array + language + location
Table of Contents
Methods
- __construct() : mixed
- getDisposition() : mixed
- getEncoding() : mixed
- getId() : mixed
- getNumber() : mixed
- getParams() : mixed
- getSubtype() : mixed
- getType() : mixed
- isAttachment() : mixed
- isBodyText() : mixed
- isMultipart() : mixed
- isText() : mixed
- traverse() : mixed
Methods
__construct()
public
__construct(array<string|int, mixed> $bodystructure[, mixed $number = null ]) : mixed
Parameters
- $bodystructure : array<string|int, mixed>
- $number : mixed = null
getDisposition()
public
getDisposition() : mixed
getEncoding()
public
getEncoding() : mixed
getId()
public
getId() : mixed
getNumber()
public
getNumber() : mixed
getParams()
public
getParams() : mixed
getSubtype()
public
getSubtype() : mixed
getType()
public
getType() : mixed
isAttachment()
public
isAttachment() : mixed
isBodyText()
public
isBodyText() : mixed
isMultipart()
public
isMultipart() : mixed
isText()
public
isText() : mixed
traverse()
public
traverse(callable $callback[, mixed $flat = false ]) : mixed
Parameters
- $callback : callable
- $flat : mixed = false