HTMLPurifier 4.4.0
HTMLPurifier_HTMLModule_XMLCommonAttributes Class Reference
Inheritance diagram for HTMLPurifier_HTMLModule_XMLCommonAttributes:
HTMLPurifier_HTMLModule HTMLPurifier_HTMLModule

List of all members.

Public Attributes

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

Detailed Description

Definition at line 3 of file XMLCommonAttributes.php.


Member Data Documentation

HTMLPurifier_HTMLModule_XMLCommonAttributes::$attr_collections
Initial value:
 array(
        'Lang' => array(
            'xml:lang' => 'LanguageCode',
        )
    )

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 7 of file XMLCommonAttributes.php.

HTMLPurifier_HTMLModule_XMLCommonAttributes::$name = 'XMLCommonAttributes'

Short unique string identifier of the module.

Reimplemented from HTMLPurifier_HTMLModule.

Definition at line 5 of file XMLCommonAttributes.php.


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