Class HTMLPurifier_AttrTransform_TargetBlank
Inheritance | HTMLPurifier_AttrTransform_TargetBlank » HTMLPurifier_AttrTransform |
---|
Adds target="blank" to all outbound links. This transform is only attached if Attr.TargetBlank is TRUE. This works regardless of whether or not Attr.AllowedFrameTargets
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | HTMLPurifier_AttrTransform_TargetBlank | |
confiscateAttr() | Retrieves and removes an attribute | HTMLPurifier_AttrTransform |
prependCSS() | Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist. | HTMLPurifier_AttrTransform |
transform() | HTMLPurifier_AttrTransform_TargetBlank |
Method Details
public void __construct ( ) |
public array transform ( $attr, $config, $context ) | ||
$attr | array | |
$config | HTMLPurifier_Config | |
$context | HTMLPurifier_Context |