Class HTMLPurifier_CSSDefinition

Description

Defines allowed CSS attributes and what their values are.

Defines allowed CSS attributes and what their values are.

Located in /library/HTMLPurifier/CSSDefinition.php (line 7)

HTMLPurifier_Definition
   |
   --HTMLPurifier_CSSDefinition
Variable Summary
mixed $info
mixed $type
Method Summary
void doSetup ( $config)
void doSetupProprietary ( $config)
void doSetupTricky ( $config)
void setupConfigStuff ( $config)
Variables
mixed $info = array() (line 15)

Assoc array of attribute name to definition object.

Assoc array of attribute name to definition object.

  • access: public
mixed $type = 'CSS' (line 10)
  • access: public

Redefinition of:
HTMLPurifier_Definition::$type
What type of definition is it?

Inherited Variables

Inherited from HTMLPurifier_Definition

HTMLPurifier_Definition::$setup
Methods
doSetup (line 20)

Constructs the info array.

Constructs the info array. The meat of this class.

  • access: protected
void doSetup ( $config)
  • $config

Redefinition of:
HTMLPurifier_Definition::doSetup()
Sets up the definition object into the final form, something
doSetupProprietary (line 231)
  • access: protected
void doSetupProprietary ( $config)
  • $config
doSetupTricky (line 250)
  • access: protected
void doSetupTricky ( $config)
  • $config
setupConfigStuff (line 269)

Performs extra config-based processing. HTMLPurifier_HTMLDefinition.

Performs extra config-based processing. Based off of HTMLPurifier_HTMLDefinition.

  • todo: Refactor duplicate elements into common class (probably using composition, not inheritance).
  • access: protected
void setupConfigStuff ( $config)
  • $config

Inherited Methods

Inherited From HTMLPurifier_Definition

HTMLPurifier_Definition::doSetup()
HTMLPurifier_Definition::setup()

Documentation generated on Thu, 19 Jun 2008 18:49:00 -0400 by phpDocumentor 1.4.2