Horde_Mime_ContentParam_Decode
extends Horde_Mail_Rfc822
in package
Decode MIME content parameter data (RFC 2045; 2183; 2231).
Tags
Table of Contents
- decode() : array<string|int, mixed>
- Decode content parameter data.
- isAtextNonTspecial() : bool
- Determine if character is a non-escaped element in MIME parameter data (See RFC 2045 [Appendix A]).
- _rfc822ParseMimeToken() : mixed
Methods
decode()
Decode content parameter data.
public
decode(string $data) : array<string|int, mixed>
Parameters
- $data : string
-
Parameter data.
Return values
array<string|int, mixed> —List of parameter key/value combinations.
isAtextNonTspecial()
Determine if character is a non-escaped element in MIME parameter data (See RFC 2045 [Appendix A]).
public
static isAtextNonTspecial(string $c) : bool
Parameters
- $c : string
-
Character to test.
Return values
bool —True if non-escaped character.
_rfc822ParseMimeToken()
protected
_rfc822ParseMimeToken(mixed &$str) : mixed
Parameters
- $str : mixed