Class HTMLPurifier_CSSDefinition
Inheritance | HTMLPurifier_CSSDefinition » HTMLPurifier_Definition |
---|
Defines allowed CSS attributes and what their values are.
See also HTMLPurifier_HTMLDefinition.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$info | Assoc array of attribute name to definition object. | HTMLPurifier_CSSDefinition | |
$optimized | If true, write out the final definition object to the cache after setup. This will be true only if all invocations to get a raw definition object are also optimized. This does not cause file system thrashing because on subsequent calls the cached object is used and any writes to the raw definition object are short circuited. See enduser-customize.html for the high-level picture. | HTMLPurifier_Definition | |
$setup | Has setup() been called yet? | HTMLPurifier_Definition | |
$type | HTMLPurifier_CSSDefinition |
Public Methods
Method | Description | Defined By |
---|---|---|
setup() | Setup function that aborts if already setup | HTMLPurifier_Definition |
Protected Methods
Method | Description | Defined By |
---|---|---|
doSetup() | Constructs the info array. The meat of this class. | HTMLPurifier_CSSDefinition |
doSetupProprietary() | HTMLPurifier_CSSDefinition | |
doSetupTricky() | HTMLPurifier_CSSDefinition | |
doSetupTrusted() | HTMLPurifier_CSSDefinition | |
setupConfigStuff() | Performs extra config-based processing. Based off of HTMLPurifier_HTMLDefinition. | HTMLPurifier_CSSDefinition |
Property Details
Method Details
Constructs the info array. The meat of this class.
protected void doSetup ( $config ) | ||
$config | HTMLPurifier_Config |
protected void doSetupProprietary ( $config ) | ||
$config | HTMLPurifier_Config |
protected void doSetupTricky ( $config ) | ||
$config | HTMLPurifier_Config |
protected void doSetupTrusted ( $config ) | ||
$config | HTMLPurifier_Config |
Performs extra config-based processing. Based off of HTMLPurifier_HTMLDefinition.
protected void setupConfigStuff ( $config ) | ||
$config | HTMLPurifier_Config |