PHP Class Horde_Mime_Viewer_Enriched, horde

By RFC, we must do the minimal conformance measures of: A minimal text/enriched implementation is one that converts "<<" to "<", removes everything between a command and the next balancing removes all other formatting commands (all text enclosed in angle brackets), and outside of environments converts any series of n CRLFs to n-1 CRLFs, and converts any lone CRLF pairs to SPACE. We don't qualify as we don't currently track the environment, that is we do CRLF conversion even if is specified in the text, but we're close at least. Copyright 2001-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Eric Rostetter ([email protected])
Inheritance: extends Horde_Mime_Viewer_Base
ファイルを表示 Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_capability array This driver's display capabilities.

Public Methods

Method Description
colorize ( $colors ) TODO

Protected Methods

Method Description
_render ( ) : array Return the full rendered version of the Horde_Mime_Part object.
_renderInline ( ) : array Return the rendered inline version of the Horde_Mime_Part object.
_toHTML ( string $inline ) : string Convert the enriched text to HTML.

Method Details

_render() protected method

Return the full rendered version of the Horde_Mime_Part object.
protected _render ( ) : array
return array See parent::render().

_renderInline() protected method

Return the rendered inline version of the Horde_Mime_Part object.
protected _renderInline ( ) : array
return array See parent::render().

_toHTML() protected method

Convert the enriched text to HTML.
protected _toHTML ( string $inline ) : string
$inline string Rendered inline?
return string The HTML-ified version of the MIME part contents.

colorize() public method

TODO
public colorize ( $colors )

Property Details

$_capability protected_oe property

This driver's display capabilities.
protected array $_capability
return array