HTMLPurifier 4.4.0
/home/ezyang/Dev/htmlpurifier/library/HTMLPurifier/TagTransform.php
Go to the documentation of this file.
00001 <?php
00002 
00006 abstract class HTMLPurifier_TagTransform
00007 {
00008 
00012     public $transform_to;
00013 
00020     abstract public function transform($tag, $config, $context);
00021 
00029     protected function prependCSS(&$attr, $css) {
00030         $attr['style'] = isset($attr['style']) ? $attr['style'] : '';
00031         $attr['style'] = $css . $attr['style'];
00032     }
00033 
00034 }
00035 
00036 // vim: et sw=4 sts=4