다음 코어 업데이트 10월 20일(화) D-43 코어는 매월 셋째 주 화요일 공식 자료는 월 1회 (베타 자료 1~2주) 코어 릴리즈 자료 릴리즈
클래스·함수 명세

HTMLFilter

Zittme\Framework\Filters\HTMLFilter 클래스의 공개 메서드 목록입니다. 이 문서는 Zittme 코어 소스에서 자동 생성되었습니다.

소스: common/framework/filters/HTMLFilter.php

공개 메서드

  • static function prependPreFilter(callable $callback)
  • Prepend a pre-processing filter.
  • static function appendPreFilter(callable $callback)
  • Append a pre-processing filter.
  • static function prependPostFilter(callable $callback)
  • Prepend a post-processing filter.
  • static function appendPostFilter(callable $callback)
  • Append a post-processing filter.
  • static function clean(string $input, $allow_classes = false, bool $allow_editor_components = true, bool $allow_widgets = false)
  • Filter HTML content to block XSS attacks.
  • static function fixRelativeUrls(string $content)
  • Convert relative URLs to absolute URLs in HTML content.
  • static function getHTMLPurifier(?array $allowed_classes = null)
  • Get an instance of HTMLPurifier.