library/HTMLPurifier/AttrTransform/SafeEmbed.php

Go to the documentation of this file.
00001 <?php
00002 
00003 class HTMLPurifier_AttrTransform_SafeEmbed extends HTMLPurifier_AttrTransform 
00004 {
00005     public $name = "SafeEmbed";
00006 
00007     public function transform($attr, $config, $context) {
00008         $attr['allowscriptaccess'] = 'never';
00009         $attr['allownetworking'] = 'internal';
00010         $attr['type'] = 'application/x-shockwave-flash';
00011         return $attr;
00012     }
00013 }

Generated on Thu Jun 19 18:47:25 2008 for HTMLPurifier by  doxygen 1.5.3