Ir al contenido
Docs

Referencia de clases y funciones

MediaFilter

Lista de métodos públicos de la clase Zittme\Framework\Filters\MediaFilter. Este documento se generó automáticamente a partir del código fuente del núcleo de Zittme.

Fuente: common/framework/filters/MediaFilter.php

Métodos públicos

  • 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.