[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/htmlpurifier/HTMLPurifier/TagTransform/ -> Simple.php (summary)

(no description)

File Size: 44 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTMLPurifier_TagTransform_Simple:: (2 methods):
  __construct()
  transform()


Class: HTMLPurifier_TagTransform_Simple  - X-Ref

Simple transformation, just change tag name to something else,
and possibly add some styling. This will cover most of the deprecated
tag cases.

__construct($transform_to, $style = null)   X-Ref

param: string $transform_to Tag name to transform to.
param: string $style CSS style to add to the tag

transform($tag, $config, $context)   X-Ref

param: HTMLPurifier_Token_Tag $tag
param: HTMLPurifier_Config $config
param: HTMLPurifier_Context $context
return: string



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1