클래스·함수 명세

MediaFilter

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

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

공개 메서드

  • static function addPrefix(string $prefix, bool $permanently = false)
  • Add a prefix to the iframe whitelist.
  • static function addIframePrefix(string $prefix, bool $permanently = false)
  • Add a prefix to the object whitelist.
  • static function addObjectPrefix()
  • Add a prefix to the object whitelist.
  • static function formatPrefix(string $prefix)
  • Format a prefix for standardization.
  • static function getWhitelist()
  • Get the iframe whitelist.
  • static function getWhitelistRegex()
  • Get the iframe whitelist as a regular expression.
  • static function matchWhitelist(string $url)
  • Check if a URL matches the iframe whitelist.
  • static function removeEmbeddedMedia(string $input, string $replacement = '')
  • Remove embedded media from HTML content.
  • static function getIframeWhitelist()
  • Get the iframe whitelist.
  • static function getIframeWhitelistRegex()
  • Get the iframe whitelist as a regular expression.
  • static function matchIframeWhitelist(string $url)
  • Check if a URL matches the iframe whitelist.
  • static function getObjectWhitelist()
  • Get the object whitelist.
  • static function getObjectWhitelistRegex()
  • Get the object whitelist as a regular expression.
  • static function matchObjectWhitelist(string $url)
  • Check if a URL matches the iframe whitelist.