Moodle  2.2.1
http://www.collinsharper.com
HTMLPurifier_CSSDefinition Class Reference
Inheritance diagram for HTMLPurifier_CSSDefinition:
Collaboration diagram for HTMLPurifier_CSSDefinition:

Data Fields

 $type = 'CSS'
 $info = array()

Protected Member Functions

 doSetup ($config)
 doSetupProprietary ($config)
 doSetupTricky ($config)
 doSetupTrusted ($config)
 setupConfigStuff ($config)

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

doSetup ( config) [protected]

Constructs the info array. The meat of this class.

Reimplemented from HTMLPurifier_Definition.

Definition at line 20 of file CSSDefinition.php.

Here is the call graph for this function:

doSetupProprietary ( config) [protected]

Definition at line 235 of file CSSDefinition.php.

Here is the call graph for this function:

Here is the caller graph for this function:

doSetupTricky ( config) [protected]

Definition at line 254 of file CSSDefinition.php.

Here is the call graph for this function:

Here is the caller graph for this function:

doSetupTrusted ( config) [protected]

Definition at line 267 of file CSSDefinition.php.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$info = array()

Assoc array of attribute name to definition object.

Definition at line 15 of file CSSDefinition.php.

$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 file:
 All Data Structures Namespaces Files Functions Variables Enumerations