Class HTMLPurifier_AttrTransform_SafeEmbed

Description

Processes an entire attribute array for corrections needing multiple values.

Processes an entire attribute array for corrections needing multiple values. Occasionally, a certain attribute will need to be removed and popped onto another value. Instead of creating a complex return syntax for HTMLPurifier_AttrDef, we just pass the whole attribute array to a specialized object and have that do the special work. That is the family of HTMLPurifier_AttrTransform. An attribute transformation can be assigned to run before or after HTMLPurifier_AttrDef validation. See HTMLPurifier_HTMLDefinition for more details.

Located in /library/HTMLPurifier/AttrTransform/SafeEmbed.php (line 3)

HTMLPurifier_AttrTransform
   |
   --HTMLPurifier_AttrTransform_SafeEmbed
Variable Summary
mixed $name
Method Summary
void transform ( $attr,  $config,  $context)
Variables
mixed $name = "SafeEmbed" (line 5)
  • access: public
Methods
transform (line 7)
  • access: public
void transform ( $attr,  $config,  $context)
  • $attr
  • $config
  • $context

Redefinition of:
HTMLPurifier_AttrTransform::transform()
Abstract: makes changes to the attributes dependent on multiple values.

Inherited Methods

Inherited From HTMLPurifier_AttrTransform

HTMLPurifier_AttrTransform::confiscateAttr()
HTMLPurifier_AttrTransform::prependCSS()
HTMLPurifier_AttrTransform::transform()

Documentation generated on Thu, 19 Jun 2008 18:50:16 -0400 by phpDocumentor 1.4.2