PHP Класс Horde_Text_Filter_Xss, horde

Filter parameters: - charset: (string) The charset of the text. DEFAULT: UTF-8 - noprefetch: (boolean) Disable DNS pre-fetching? See: https://developer.mozilla.org/En/Controlling_DNS_prefetching DEFAULT: false - return_document: (string) If true, returns a full HTML representation of the document. DEFAULT: false (returns the contents contained inside the BODY tag) - return_dom: (boolean) If true, return a Horde_Domhtml object instead of HTML text (overrides return_document). DEFAULT: false - strip_styles: (boolean) Strip style tags? DEFAULT: true - strip_style_attributes: (boolean) Strip style attributes in all tags? DEFAULT: true
Автор: Jan Schneider ([email protected])
Автор: Michael Slusarz ([email protected])
Наследование: extends Horde_Text_Filter_Base
Показать файл Открыть проект

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

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

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

Метод Описание
postProcess ( string $text ) : string | Horde_Domhtml Executes any code necessary after applying the filter patterns.

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

Метод Описание
_node ( DOMElement $node ) : string Process DOM node.

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

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

Process DOM node.
protected _node ( DOMElement $node ) : string
$node DOMElement Element node.
Результат string The plaintext representation.

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

Executes any code necessary after applying the filter patterns.
public postProcess ( string $text ) : string | Horde_Domhtml
$text string The text after the filtering.
Результат string | Horde_Domhtml The modified text or a Domhtml object if the 'return_dom' parameter is set.

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

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

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