ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Validates the attributes of a token. More...
Public Member Functions | |
validateToken ($token, $config, $context) | |
Validates the attributes of a token, mutating it as necessary. More... | |
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.
Definition at line 8 of file AttrValidator.php.
HTMLPurifier_AttrValidator::validateToken | ( | $token, | |
$config, | |||
$context | |||
) |
Validates the attributes of a token, mutating it as necessary.
that has valid tokens
HTMLPurifier_Token | $token | Token to validate. |
HTMLPurifier_Config | $config | Instance of HTMLPurifier_Config |
HTMLPurifier_Context | $context | Instance of HTMLPurifier_Context |
Definition at line 18 of file AttrValidator.php.
References $config, $ok, $result, and HTMLPurifier_IDAccumulator\build().