API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_AttrValidator Class Reference

Public Member Functions

 validateToken ($token, $config, $context)
 

Detailed Description

Validates the attributes of a token. Doesn't manage required attributes very well. The only reason we factored this out was because RemoveForeignElements also needed it besides ValidateAttributes.

Member Function Documentation

◆ validateToken()

validateToken (   $token,
  $config,
  $context 
)

Validates the attributes of a token, mutating it as necessary. that has valid tokens

Parameters
HTMLPurifier_Token$tokenToken to validate.
HTMLPurifier_Config$configInstance of HTMLPurifier_Config
HTMLPurifier_Context$contextInstance of HTMLPurifier_Context
Here is the call graph for this function:

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