PHP Класс 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.
Автор: Eric Rostetter ([email protected])
Наследование: extends Horde_Mime_Viewer_Base
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_capability array This driver's display capabilities.

Открытые методы

Метод Описание
colorize ( $colors ) TODO

Защищенные методы

Метод Описание
_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.

Описание методов

_render() защищенный Метод

Return the full rendered version of the Horde_Mime_Part object.
protected _render ( ) : array
Результат array See parent::render().

_renderInline() защищенный Метод

Return the rendered inline version of the Horde_Mime_Part object.
protected _renderInline ( ) : array
Результат array See parent::render().

_toHTML() защищенный Метод

Convert the enriched text to HTML.
protected _toHTML ( string $inline ) : string
$inline string Rendered inline?
Результат string The HTML-ified version of the MIME part contents.

colorize() публичный Метод

TODO
public colorize ( $colors )

Описание свойств

$_capability защищенное свойство

This driver's display capabilities.
protected array $_capability
Результат array