Cheetah
Public Member Functions | List of all members
HTMLPurifier_AttrTransform_Nofollow Class Reference
Inheritance diagram for HTMLPurifier_AttrTransform_Nofollow:
HTMLPurifier_AttrTransform

Public Member Functions

 __construct ()
 
 transform ($attr, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_AttrTransform
 prependCSS (&$attr, $css)
 
 confiscateAttr (&$attr, $key)
 

Detailed Description

Adds rel="nofollow" to all outbound links. This transform is only attached if Attr.Nofollow is TRUE.

Definition at line 14165 of file HTMLPurifier.standalone.php.

Constructor & Destructor Documentation

◆ __construct()

HTMLPurifier_AttrTransform_Nofollow::__construct ( )

Definition at line 14172 of file HTMLPurifier.standalone.php.

Member Function Documentation

◆ transform()

HTMLPurifier_AttrTransform_Nofollow::transform (   $attr,
  $config,
  $context 
)
Parameters
array$attr
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
array

Reimplemented from HTMLPurifier_AttrTransform.

Definition at line 14183 of file HTMLPurifier.standalone.php.


The documentation for this class was generated from the following file: