HTMLPurifier_AttrTypes
Provides lookup array of attribute types to HTMLPurifier_AttrDef objects
- Full name:
\HTMLPurifier_AttrTypes
Properties
info
Lookup array of attribute string identifiers to concrete implementations.
Methods
__construct
Constructs the info array, supplying default implementations for attribute types.
makeEnum
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$in |
mixed |
get
Retrieves a type
Parameters:
Parameter | Type | Description |
---|---|---|
$type |
string | String type name |
Return Value:
Object AttrDef for type
set
Sets a new implementation for a type
Parameters:
Parameter | Type | Description |
---|---|---|
$type |
string | String type name |
$impl |
\HTMLPurifier_AttrDef | Object AttrDef for type |
Automatically generated on 2025-03-18