Documentation

Horde_Mime_ContentParam_Decode extends Horde_Mail_Rfc822
in package

Decode MIME content parameter data (RFC 2045; 2183; 2231).

Tags
author

Timo Sirainen tss@iki.fi

author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2002-2015 Timo Sirainen

copyright

2014-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

since
2.5.0

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
Return values
mixed

Search results