PHP Класс Horde_Text_Filter_Space2html, horde

Parameters:
encode     -- HTML encode the text?  Defaults to false.
charset    -- Charset of the text.  Defaults to ISO-8859-1.
encode_all -- Replace all spaces with  ?  Defaults to false.
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.
Автор: Jan Schneider ([email protected])
Автор: Mathieu Arnold ([email protected])
Наследование: extends Horde_Text_Filter_Base
Показать файл Открыть проект

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

Свойство Тип Описание
$_params array Filter parameters.

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

Метод Описание
getPatterns ( ) : array Returns a hash with replace patterns.
postProcess ( string $text ) : string Executes any code necessaray after applying the filter patterns.
preProcess ( string $text ) : string Executes any code necessary before applying the filter patterns.

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

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

Returns a hash with replace patterns.
public getPatterns ( ) : array
Результат array Patterns hash.

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

Executes any code necessaray after applying the filter patterns.
public postProcess ( string $text ) : string
$text string The text after the filtering.
Результат string The modified text.

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

Executes any code necessary before applying the filter patterns.
public preProcess ( string $text ) : string
$text string The text before the filtering.
Результат string The modified text.

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

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

Filter parameters.
protected array $_params
Результат array