Class HTMLPurifier_CSSDefinition

Description

Defines allowed CSS attributes and what their values are.

Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 956)

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 964)

Assoc array of attribute name to definition object.

  • access: public
mixed $type = 'CSS' (line 959)
  • 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 969)

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 1180)
  • access: protected
void doSetupProprietary ( $config)
  • $config
doSetupTricky (line 1199)
  • access: protected
void doSetupTricky ( $config)
  • $config
setupConfigStuff (line 1219)

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 Sun, 06 Mar 2011 00:24:04 -0500 by phpDocumentor 1.4.3