Moodle  2.2.1
http://www.collinsharper.com
HTMLPurifier_AttrCollections Class Reference

Public Member Functions

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

Data Fields

 $info = array()

Detailed Description

Defines common attribute collections that modules reference

Definition at line 7 of file AttrCollections.php.


Constructor & Destructor Documentation

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

Here is the call graph for this function:


Member Function Documentation

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.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$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:
 All Data Structures Namespaces Files Functions Variables Enumerations