35        $this->regexp = 
$config->get(
'URI.SafeIframeRegexp');
 
   48        if (!
$config->get(
'HTML.SafeIframe')) {
 
   52        if (!$context->get(
'EmbeddedURI', 
true)) {
 
   55        $token = $context->get(
'CurrentToken', 
true);
 
   56        if (!($token && $token->name == 
'iframe')) {
 
   60        if ($this->regexp === 
null) {
 
   64        return preg_match($this->regexp, $uri->toString());
 
An exception for terminatinating execution or to throw for unit testing.
Implements safety checks for safe iframes.
filter(&$uri, $config, $context)
Chainable filters for custom URI processing.