transform()
transform(array $attr, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context) : array
Abstract: makes changes to the attributes dependent on multiple values.
Parameters
array | $attr | Assoc array of attributes, usually from HTMLPurifier_Token_Tag::$attr |
\HTMLPurifier_Config | $config | Mandatory HTMLPurifier_Config object. |
\HTMLPurifier_Context | $context | Mandatory HTMLPurifier_Context object |
Returns
array —Processed attribute array.