HTMLPurifier 4.4.0
HTMLPurifier_CSSDefinition Class Reference

Defines allowed CSS attributes and what their values are. More...

Inheritance diagram for HTMLPurifier_CSSDefinition:
HTMLPurifier_Definition HTMLPurifier_Definition

List of all members.

Public Attributes

 $type = 'CSS'
 What type of definition is it?
 $info = array()
 Assoc array of attribute name to definition object.

Protected Member Functions

 doSetup ($config)
 Constructs the info array.
 doSetupProprietary ($config)
 doSetupTricky ($config)
 doSetupTrusted ($config)
 setupConfigStuff ($config)
 Performs extra config-based processing.
 doSetup ($config)
 Constructs the info array.
 doSetupProprietary ($config)
 doSetupTricky ($config)
 doSetupTrusted ($config)
 setupConfigStuff ($config)
 Performs extra config-based processing.

Detailed Description

Defines allowed CSS attributes and what their values are.

See also:
HTMLPurifier_HTMLDefinition

Definition at line 7 of file CSSDefinition.php.


Member Function Documentation

HTMLPurifier_CSSDefinition::doSetup ( config) [protected]

Constructs the info array.

The meat of this class.

Reimplemented from HTMLPurifier_Definition.

Definition at line 20 of file CSSDefinition.php.

References $config, doSetupProprietary(), doSetupTricky(), doSetupTrusted(), and setupConfigStuff().

HTMLPurifier_CSSDefinition::doSetup ( config) [protected]

Constructs the info array.

The meat of this class.

Reimplemented from HTMLPurifier_Definition.

Definition at line 1000 of file HTMLPurifier.standalone.php.

References $config, doSetupProprietary(), doSetupTricky(), doSetupTrusted(), and setupConfigStuff().

HTMLPurifier_CSSDefinition::doSetupProprietary ( config) [protected]

Definition at line 235 of file CSSDefinition.php.

Referenced by doSetup().

HTMLPurifier_CSSDefinition::doSetupProprietary ( config) [protected]

Definition at line 1215 of file HTMLPurifier.standalone.php.

HTMLPurifier_CSSDefinition::doSetupTricky ( config) [protected]

Definition at line 1234 of file HTMLPurifier.standalone.php.

HTMLPurifier_CSSDefinition::doSetupTricky ( config) [protected]

Definition at line 254 of file CSSDefinition.php.

Referenced by doSetup().

HTMLPurifier_CSSDefinition::doSetupTrusted ( config) [protected]

Definition at line 1247 of file HTMLPurifier.standalone.php.

HTMLPurifier_CSSDefinition::doSetupTrusted ( config) [protected]

Definition at line 267 of file CSSDefinition.php.

Referenced by doSetup().

HTMLPurifier_CSSDefinition::setupConfigStuff ( config) [protected]

Performs extra config-based processing.

Based off of HTMLPurifier_HTMLDefinition.

Todo:
Refactor duplicate elements into common class (probably using composition, not inheritance).

Definition at line 1271 of file HTMLPurifier.standalone.php.

References $config.

HTMLPurifier_CSSDefinition::setupConfigStuff ( config) [protected]

Performs extra config-based processing.

Based off of HTMLPurifier_HTMLDefinition.

Todo:
Refactor duplicate elements into common class (probably using composition, not inheritance).

Definition at line 291 of file CSSDefinition.php.

References $config.

Referenced by doSetup().


Member Data Documentation

HTMLPurifier_CSSDefinition::$info = array()

Assoc array of attribute name to definition object.

Definition at line 15 of file CSSDefinition.php.

HTMLPurifier_CSSDefinition::$type = 'CSS'

What type of definition is it?

Reimplemented from HTMLPurifier_Definition.

Definition at line 10 of file CSSDefinition.php.


The documentation for this class was generated from the following files: