HTMLPurifier_Strategy_Composite
extends HTMLPurifier_Strategy
in package
AbstractYes
Composite strategy that runs multiple strategies on tokens.
Table of Contents
Properties
- $strategies : mixed
- List of strategies to run tokens through.
Methods
- execute() : array<string|int, HTMLPurifier_Token>
- Executes the strategy on the tokens.
Properties
$strategies
List of strategies to run tokens through.
protected
mixed
$strategies
= array()
Tags
Methods
execute()
Executes the strategy on the tokens.
public
execute(array<string|int, HTMLPurifier_Token> $tokens, HTMLPurifier_Config $config, HTMLPurifier_Context $context) : array<string|int, HTMLPurifier_Token>
Parameters
- $tokens : array<string|int, HTMLPurifier_Token>
- $config : HTMLPurifier_Config
- $context : HTMLPurifier_Context