\HTMLPurifier_CSSDefinition
Defines allowed CSS attributes and what their values are.
Synopsis
class HTMLPurifier_CSSDefinition
extends HTMLPurifier_Definition
{
- // methods
- protected void doSetup()
- protected void doSetupProprietary()
- protected void doSetupTricky()
- protected void setupConfigStuff()
- // Inherited methods from HTMLPurifier_Definition
- protected abstract void doSetup()
- public void setup()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
270+ | Refactor duplicate elements into common class (probably using composition, not inheritance). |
Members
public
-
$info
Assoc array of attribute name to definition object. -
$setup
Has setup() been called yet? - $type
-
$type
What type of definition is it?
Methods
protected
- doSetup() — Constructs the info array. The meat of this class.
- doSetupProprietary()
- doSetupTricky()
- setupConfigStuff() — Performs extra config-based processing. Based off of HTMLPurifier_HTMLDefinition.
Inherited from HTMLPurifier_Definition
protected
- doSetup() — Sets up the definition object into the final form, something not done by the constructor
public
- setup() — Setup function that aborts if already setup