本文へスキップ
ドキュメント

クラス・関数リファレンス

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.