HTMLPurifier 4.4.0
HTMLPurifier_HTMLModule_StyleAttribute Class Reference

XHTML 1.1 Edit Module, defines editing-related elements. More...

Inheritance diagram for HTMLPurifier_HTMLModule_StyleAttribute:
HTMLPurifier_HTMLModule HTMLPurifier_HTMLModule

List of all members.

Public Member Functions

 setup ($config)
 Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available.
 setup ($config)
 Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available.

Public Attributes

 $name = 'StyleAttribute'
 Short unique string identifier of the module.
 $attr_collections
 Associative array of attribute collection names to attribute collection additions.

Detailed Description

XHTML 1.1 Edit Module, defines editing-related elements.

Text Extension Module.

Definition at line 7 of file StyleAttribute.php.


Member Function Documentation

HTMLPurifier_HTMLModule_StyleAttribute::setup ( config)

Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available.

Parameters:
$configInstance of HTMLPurifier_Config

Reimplemented from HTMLPurifier_HTMLModule.

Definition at line 18 of file StyleAttribute.php.

HTMLPurifier_HTMLModule_StyleAttribute::setup ( config)

Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available.

Parameters:
$configInstance of HTMLPurifier_Config

Reimplemented from HTMLPurifier_HTMLModule.

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


Member Data Documentation

HTMLPurifier_HTMLModule_StyleAttribute::$attr_collections
Initial value:
 array(
        
        
        'Style' => array('style' => false), 
        'Core' => array(0 => array('Style'))
    )

Associative array of attribute collection names to attribute collection additions.

More rarely used for adding attributes to the global collections. Example is the StyleAttribute module adding the style attribute to the Core. Corresponds to HTMLDefinition's attr_collections->info, since the object's data is only info, with extra behavior associated with it.

Reimplemented from HTMLPurifier_HTMLModule.

Definition at line 11 of file StyleAttribute.php.

HTMLPurifier_HTMLModule_StyleAttribute::$name = 'StyleAttribute'

Short unique string identifier of the module.

Reimplemented from HTMLPurifier_HTMLModule.

Definition at line 10 of file StyleAttribute.php.


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