Class HTMLPurifier_AttrCollections
Inheritance | HTMLPurifier_AttrCollections |
---|
Defines common attribute collections that modules reference
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$info | Associative array of attribute collections, indexed by name. | HTMLPurifier_AttrCollections |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Performs all expansions on internal data for use by other inclusions It also collects all attribute collection extensions from modules | HTMLPurifier_AttrCollections |
expandIdentifiers() | Expands all string identifiers in an attribute array by replacing them with the appropriate values inside HTMLPurifier_AttrTypes | HTMLPurifier_AttrCollections |
performInclusions() | Takes a reference to an attribute associative array and performs all inclusions specified by the zero index. | HTMLPurifier_AttrCollections |
Property Details
Method Details
Performs all expansions on internal data for use by other inclusions It also collects all attribute collection extensions from modules
public void __construct ( $attr_types, $modules ) | ||
$attr_types | HTMLPurifier_AttrTypes | HTMLPurifier_AttrTypes instance |
$modules | HTMLPurifier_HTMLModule[] | Hash array of HTMLPurifier_HTMLModule members |
Expands all string identifiers in an attribute array by replacing them with the appropriate values inside HTMLPurifier_AttrTypes
public void expandIdentifiers ( <b>&</b>$attr, $attr_types ) | ||
$attr | ||
$attr_types | HTMLPurifier_AttrTypes | HTMLPurifier_AttrTypes instance |
Takes a reference to an attribute associative array and performs all inclusions specified by the zero index.
public void performInclusions ( <b>&</b>$attr ) | ||
$attr |