Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / lib / htmlpurifier / HTMLPurifier / TagTransform.php
blobf5dc5c97b6a164e1bfc646a25bd4b26d05309894
1 <?php
3 require_once 'HTMLPurifier/Token.php';
5 /**
6 * Defines a mutation of an obsolete tag into a valid tag.
7 */
8 class HTMLPurifier_TagTransform
11 /**
12 * Tag name to transform the tag to.
13 * @public
15 var $transform_to;
17 /**
18 * Transforms the obsolete tag into the valid tag.
19 * @param $tag Tag to be transformed.
20 * @param $config Mandatory HTMLPurifier_Config object
21 * @param $context Mandatory HTMLPurifier_Context object
23 function transform($tag, $config, &$context) {
24 trigger_error('Call to abstract function', E_USER_ERROR);