API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_AttrCollections Class Reference

Public Member Functions

 __construct ($attr_types, $modules)
 
 doConstruct ($attr_types, $modules)
 
 performInclusions (&$attr)
 
 expandIdentifiers (&$attr, $attr_types)
 

Data Fields

 $info = array()
 

Detailed Description

Defines common attribute collections that modules reference

Constructor & Destructor Documentation

◆ __construct()

__construct (   $attr_types,
  $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_typesHTMLPurifier_AttrTypes instance
HTMLPurifier_HTMLModule[]$modulesHash array of HTMLPurifier_HTMLModule members
Here is the call graph for this function:

Member Function Documentation

◆ doConstruct()

doConstruct (   $attr_types,
  $modules 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ expandIdentifiers()

expandIdentifiers ( $attr,
  $attr_types 
)

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

Parameters
array&$attrReference to attribute array
HTMLPurifier_AttrTypes$attr_typesHTMLPurifier_AttrTypes instance
Here is the caller graph for this function:

◆ performInclusions()

performInclusions ( $attr)

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

Parameters
array&$attrReference to attribute array
Here is the caller graph for this function:

Field Documentation

◆ $info

$info = array()

Associative array of attribute collections, indexed by name. @type array


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