PHP Class Horde_Mime_Viewer_Richtext, horde

A minimal richtext implementation is one that simply converts "" to "<", converts CRLFs to SPACE, converts to a newline according to local newline convention, removes everything between a command and the next balancing command, and removes all other formatting commands (all text enclosed in angle brackets). We implement the following tags: , , , , , ,
, , , , , , , , , , , The following tags are implemented differently than described in the RFC (due to limitations in HTML output): - Output as centered, bold text. - Output as centered, bold text. - Output as paragraph break. The following tags are NOT implemented: , , , , , , Copyright 2004-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: Michael Slusarz ([email protected])
Inheritance: extends Horde_Mime_Viewer_Base
Mostra file Open project: horde/horde

Protected Properties

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

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 Convert richtext 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 richtext to HTML.
protected _toHTML ( ) : string
return string The converted HTML string.

Property Details

$_capability protected_oe property

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