PHP Класс Horde_Text_Filter_Cleanascii, horde

This function should NOT be used on non-ASCII text; it may and probably will butcher other character sets indescriminately. Use it only to clean US-ASCII (7-bit) text which you suspect (or know) may have invalid or non-printing characters in it. 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.
Автор: Jan Schneider ([email protected])
Наследование: extends Horde_Text_Filter_Base
Показать файл Открыть проект

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

Метод Описание
getPatterns ( ) : array Returns a hash with replace 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.

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.