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.
Показать файл
Открыть проект
Примеры использования класса
Защищенные свойства (Protected)
Открытые методы
Метод |
Описание |
|
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.
_renderInline()
защищенный Метод
Return the rendered inline version of the Horde_Mime_Part object.
_toHTML()
защищенный Метод
Convert the enriched text to HTML.
colorize()
публичный Метод
Описание свойств
$_capability защищенное свойство
This driver's display capabilities.
protected array $_capability |
Результат |
array |
|