ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e
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)
 
- Public Member Functions inherited from HTMLPurifier_Strategy
 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  }
Validate all attributes in the tokens.
Takes tokens makes them well-formed (balance end tags, etc.)
Takes a well formed list of tokens and fixes their nesting.
Definition: FixNesting.php:32
Removes all unrecognized tags from the list of tokens.

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