extends |
HTMLPurifier_AttrDef |
---|
Validates contents based on NMTOKENS attribute type.
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
validate(string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context): bool|string
Validates and cleans passed string according to a definition.
Validates and cleans passed string according to a definition. Parameters
Implements |
# | ||||||
protected
|
split(string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context): array
Splits a space separated list of tokens into its constituent parts.
Splits a space separated list of tokens into its constituent parts. Overriden by |
# | ||||||
protected
|
filter(array $tokens, HTMLPurifier_Config $config, HTMLPurifier_Context $context): array
Template method for removing certain tokens based on arbitrary criteria.
Template method for removing certain tokens based on arbitrary criteria. Overriden by |
# |
Methods inherited from HTMLPurifier_AttrDef |
---|
parseCDATA(), make(), mungeRgb(), expandCSSEscape() |
Properties inherited from HTMLPurifier_AttrDef |
---|
$minimized, $required |