Class HTMLPurifier_AttrCollections

Description

Defines common attribute collections that modules reference

Defines common attribute collections that modules reference

Located in /library/HTMLPurifier/AttrCollections.php (line 7)


	
			
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 13)

Associative array of attribute collections, indexed by name

Associative array of attribute collections, indexed by name

  • access: public
Methods
Constructor __construct (line 22)

Performs all expansions on internal data for use by other inclusions

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 82)

Expands all string identifiers in an attribute array by replacing

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 54)

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

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 Thu, 19 Jun 2008 18:48:49 -0400 by phpDocumentor 1.4.2