\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.

Methods

__construct()

__construct(\HTMLPurifier_AttrTypes  $attr_types, \HTMLPurifier_HTMLModule[]  $modules) : mixed

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

\HTMLPurifier_HTMLModule[] $modules

Hash array of HTMLPurifier_HTMLModule members

Returns

mixed —

doConstruct()

doConstruct(mixed  $attr_types, mixed  $modules) : mixed

Parameters

mixed $attr_types
mixed $modules

Returns

mixed —

performInclusions()

performInclusions(array  $attr) : mixed

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

Parameters

array $attr

Reference to attribute array

Returns

mixed —

expandIdentifiers()

expandIdentifiers(array  $attr, \HTMLPurifier_AttrTypes  $attr_types) : mixed

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

Parameters

array $attr

Reference to attribute array

\HTMLPurifier_AttrTypes $attr_types

HTMLPurifier_AttrTypes instance

Returns

mixed —