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
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_capability array This driver's display capabilities.

Méthodes publiques

Méthode Description
colorize ( $colors ) TODO

Méthodes protégées

Méthode 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 méthode

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

_renderInline() protected méthode

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

_toHTML() protected méthode

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

colorize() public méthode

TODO
public colorize ( $colors )

Property Details

$_capability protected_oe property

This driver's display capabilities.
protected array $_capability
Résultat array