| extends | HTMLPurifier_AttrTransform | 
|---|
Pre-transform that changes deprecated hspace and vspace attributes to CSS
| Methods | ||||||||
|---|---|---|---|---|---|---|---|---|
| 
					
	public
					
					
				 | __construct(string $attr) | # | ||||||
| 
					
	public
					
					
				 | transform(array $attr, HTMLPurifier_Config $config, HTMLPurifier_Context $context): array
		Abstract: makes changes to the attributes dependent on multiple values.
	 Abstract: makes changes to the attributes dependent on multiple values. Parameters
 ReturnsProcessed attribute array. Implements | # | ||||||
| Methods inherited from HTMLPurifier_AttrTransform | 
|---|
| prependCSS(), confiscateAttr() | 
| Properties | |||
|---|---|---|---|
| 
	protected
					
					
				 |  | $attr | # | 
| 
	protected
					
					
				 |  | $css = ['hspace' => ['left', 'right'], 'vspace' => ['top', 'bottom']] | # |