PHP Class HTMLPurifier_Strategy_RemoveForeignElements, yii
This strategy iterates through all the tokens and removes unrecognized
tokens. If a token is not recognized but a TagTransform is defined for
that element, the element will be transformed accordingly.
显示文件
Open project: yiisoft/yii
Public Methods
Method |
Description |
|
execute ( HTMLPurifier_Token[] $tokens, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array | HTMLPurifier_Token[] |
|
|
Method Details
public execute ( HTMLPurifier_Token[] $tokens, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array | HTMLPurifier_Token[] |
$tokens |
HTMLPurifier_Token[] |
|
$config |
HTMLPurifier_Config |
|
$context |
HTMLPurifier_Context |
|
return |
array | HTMLPurifier_Token[] |
|