API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_Strategy_RemoveForeignElements Class Reference
Inheritance diagram for HTMLPurifier_Strategy_RemoveForeignElements:
Collaboration diagram for HTMLPurifier_Strategy_RemoveForeignElements:

Public Member Functions

 execute ($tokens, $config, $context)
 
 execute ($tokens, $config, $context)
 

Detailed Description

Removes all unrecognized tags from the list of tokens.

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.

Member Function Documentation

◆ execute()

execute (   $tokens,
  $config,
  $context 
)
Parameters
HTMLPurifier_Token[]$tokens
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
array|HTMLPurifier_Token[]

Reimplemented from HTMLPurifier_Strategy.


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