IMP_Mime_Viewer_Plain
extends Horde_Mime_Viewer_Plain
in package
Renderer for text/plain MIME parts with URLs made into hyperlinks.
Tags
Table of Contents
Methods
- embeddedMimeParts() : bool
- Does this MIME part possibly contain embedded MIME parts?
- overLimitText() : string
- Output to use if text size is over the limit.
- _getEmbeddedMimeParts() : mixed
- If this MIME part can contain embedded MIME part(s), and those part(s) exist, return a representation of that data.
- _impRender() : array<string|int, mixed>
- Render the object.
- _parsePGP() : mixed
- Scan text for inline, armored PGP blocks and, if they exist, convert the part to the embedded MIME representation.
- _parseUUencode() : mixed
- Scan text for UUencode data an, if it exists, convert the part to the embedded MIME representation.
- _render() : array<string|int, mixed>
- Return the full rendered version of the Horde_Mime_Part object.
- _renderInline() : array<string|int, mixed>
- Return the rendered inline version of the Horde_Mime_Part object.
Methods
embeddedMimeParts()
Does this MIME part possibly contain embedded MIME parts?
public
embeddedMimeParts() : bool
Return values
bool —True if this driver supports parsing embedded MIME parts.
overLimitText()
Output to use if text size is over the limit.
public
overLimitText() : string
See IMP_Contents::renderMIMEPart().
Return values
string —The text to display inline.
_getEmbeddedMimeParts()
If this MIME part can contain embedded MIME part(s), and those part(s) exist, return a representation of that data.
protected
_getEmbeddedMimeParts() : mixed
Return values
mixed —A Horde_Mime_Part object representing the embedded data. Returns null if no embedded MIME part(s) exist.
_impRender()
Render the object.
protected
_impRender(bool $inline) : array<string|int, mixed>
Parameters
- $inline : bool
-
Viewing inline?
Return values
array<string|int, mixed> —See parent::render().
_parsePGP()
Scan text for inline, armored PGP blocks and, if they exist, convert the part to the embedded MIME representation.
protected
_parsePGP() : mixed
Return values
mixed —See self::_getEmbeddedMimeParts().
_parseUUencode()
Scan text for UUencode data an, if it exists, convert the part to the embedded MIME representation.
protected
_parseUUencode() : mixed
Return values
mixed —See self::_getEmbeddedMimeParts().
_render()
Return the full rendered version of the Horde_Mime_Part object.
protected
_render() : array<string|int, mixed>
Return values
array<string|int, mixed> —See parent::render().
_renderInline()
Return the rendered inline version of the Horde_Mime_Part object.
protected
_renderInline() : array<string|int, mixed>
Return values
array<string|int, mixed> —See parent::render().