ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
HTMLPurifier_Strategy_Core Class Reference

Core strategy composed of the big four strategies. More...

+ Inheritance diagram for HTMLPurifier_Strategy_Core:
+ Collaboration diagram for HTMLPurifier_Strategy_Core:

Public Member Functions

 __construct ()
 
- Public Member Functions inherited from HTMLPurifier_Strategy_Composite
 execute ($tokens, $config, $context)
 
 execute ($tokens, $config, $context)
 Executes the strategy on the tokens. More...
 

Additional Inherited Members

- Protected Attributes inherited from HTMLPurifier_Strategy_Composite
 $strategies = array()
 List of strategies to run tokens through. More...
 

Detailed Description

Core strategy composed of the big four strategies.

Definition at line 6 of file Core.php.

Constructor & Destructor Documentation

◆ __construct()

HTMLPurifier_Strategy_Core::__construct ( )

Definition at line 8 of file Core.php.

9 {
10 $this->strategies[] = new HTMLPurifier_Strategy_RemoveForeignElements();
11 $this->strategies[] = new HTMLPurifier_Strategy_MakeWellFormed();
12 $this->strategies[] = new HTMLPurifier_Strategy_FixNesting();
13 $this->strategies[] = new HTMLPurifier_Strategy_ValidateAttributes();
14 }
Takes a well formed list of tokens and fixes their nesting.
Definition: FixNesting.php:33
Takes tokens makes them well-formed (balance end tags, etc.)
Removes all unrecognized tags from the list of tokens.
Validate all attributes in the tokens.

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