XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_AttrCollections Class Reference

Public Member Functions

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

Public Attributes

 $info = array()
 

Detailed Description

Defines common attribute collections that modules reference

Definition at line 7 of file AttrCollections.php.

Constructor & Destructor Documentation

HTMLPurifier_AttrCollections::__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
$attr_typesHTMLPurifier_AttrTypes instance
$modulesHash array of HTMLPurifier_HTMLModule members

Definition at line 22 of file AttrCollections.php.

References $module, expandIdentifiers(), and performInclusions().

Here is the call graph for this function:

Member Function Documentation

HTMLPurifier_AttrCollections::expandIdentifiers ( $attr,
  $attr_types 
)

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

Parameters
&$attrReference to attribute array
$attr_typesHTMLPurifier_AttrTypes instance

Definition at line 82 of file AttrCollections.php.

Referenced by __construct().

Here is the caller graph for this function:

HTMLPurifier_AttrCollections::performInclusions ( $attr)

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

Parameters
&$attrReference to attribute array

Definition at line 54 of file AttrCollections.php.

References $i.

Referenced by __construct().

Here is the caller graph for this function:

Member Data Documentation

HTMLPurifier_AttrCollections::$info = array()

Associative array of attribute collections, indexed by name

Definition at line 13 of file AttrCollections.php.


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