HumHub Documentation (unofficial)

HTMLPurifier_AttrCollections
in package

Defines common attribute collections that modules reference

Table of Contents

Properties

$info  : mixed
Associative array of attribute collections, indexed by name.

Methods

__construct()  : mixed
Performs all expansions on internal data for use by other inclusions It also collects all attribute collection extensions from modules
doConstruct()  : mixed
expandIdentifiers()  : mixed
Expands all string identifiers in an attribute array by replacing them with the appropriate values inside HTMLPurifier_AttrTypes
performInclusions()  : mixed
Takes a reference to an attribute associative array and performs all inclusions specified by the zero index.

Properties

$info

Associative array of attribute collections, indexed by name.

public mixed $info = array()
Tags
type

array

Methods

doConstruct()

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

expandIdentifiers()

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

public expandIdentifiers(array<string|int, mixed> &$attr, HTMLPurifier_AttrTypes $attr_types) : mixed
Parameters
$attr : array<string|int, mixed>

Reference to attribute array

$attr_types : HTMLPurifier_AttrTypes

HTMLPurifier_AttrTypes instance

performInclusions()

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

public performInclusions(array<string|int, mixed> &$attr) : mixed
Parameters
$attr : array<string|int, mixed>

Reference to attribute array


        
On this page

Search results