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
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_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