Class HTMLPurifier_AttrCollections

Description

Defines common attribute collections that modules reference

Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 265)


	
			
Variable Summary
mixed $info
Method Summary
HTMLPurifier_AttrCollections __construct ($attr_types $attr_types, $modules $modules)
void expandIdentifiers (&$attr &$attr, $attr_types $attr_types)
void performInclusions (&$attr &$attr)
Variables
mixed $info = array() (line 271)

Associative array of attribute collections, indexed by name

  • access: public
Methods
Constructor __construct (line 280)

Performs all expansions on internal data for use by other inclusions

It also collects all attribute collection extensions from modules

  • access: public
HTMLPurifier_AttrCollections __construct ($attr_types $attr_types, $modules $modules)
  • $attr_types $attr_types: HTMLPurifier_AttrTypes instance
  • $modules $modules: Hash array of HTMLPurifier_HTMLModule members
expandIdentifiers (line 340)

Expands all string identifiers in an attribute array by replacing

them with the appropriate values inside HTMLPurifier_AttrTypes

  • access: public
void expandIdentifiers (&$attr &$attr, $attr_types $attr_types)
  • &$attr &$attr: Reference to attribute array
  • $attr_types $attr_types: HTMLPurifier_AttrTypes instance
performInclusions (line 312)

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

  • access: public
void performInclusions (&$attr &$attr)
  • &$attr &$attr: Reference to attribute array

Documentation generated on Sun, 06 Mar 2011 00:23:58 -0500 by phpDocumentor 1.4.3