\HTMLPurifier_AttrCollections

Defines common attribute collections that modules reference

Summary

Methods
Properties
Constants
__construct()
doConstruct()
performInclusions()
expandIdentifiers()
$info
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$info

$info : 

Associative array of attribute collections, indexed by name.

Type

Methods

__construct()

__construct(\HTMLPurifier_AttrTypes  $attr_types, array<mixed,\HTMLPurifier_HTMLModule>  $modules) 

Performs all expansions on internal data for use by other inclusions It also collects all attribute collection extensions from modules

Parameters

\HTMLPurifier_AttrTypes $attr_types

HTMLPurifier_AttrTypes instance

array<mixed,\HTMLPurifier_HTMLModule> $modules

Hash array of HTMLPurifier_HTMLModule members

doConstruct()

doConstruct(  $attr_types,   $modules) 

Parameters

$attr_types
$modules

performInclusions()

performInclusions(  $attr) 

Takes a reference to an attribute associative array and performs all inclusions specified by the zero index.

Parameters

$attr

expandIdentifiers()

expandIdentifiers(  $attr, \HTMLPurifier_AttrTypes  $attr_types) 

Expands all string identifiers in an attribute array by replacing them with the appropriate values inside HTMLPurifier_AttrTypes

Parameters

$attr
\HTMLPurifier_AttrTypes $attr_types

HTMLPurifier_AttrTypes instance